This commit is contained in:
Jim Nicholson 2024-02-01 01:50:43 -08:00
parent 8657ffb314
commit 263ee996ec

View File

@ -10,8 +10,8 @@ Map defaults = [
def call(Map config = [:]) { def call(Map config = [:]) {
assert config.artifacts : 'must specify artifacts!' assert config.artifacts : 'must specify artifacts!'
String runConfig = defaults + config Map runConfig = defaults + config
if ( fileExists("${runConfig.buildTest}")) { if ( fileExists(runConfig.buildTest)) {
sh """ sh """
${runConfig.buildCmd} ${runConfig.buildCmd}
""" """