From 263ee996eca766fb7bb5720f1cb314c9c432d465 Mon Sep 17 00:00:00 2001 From: Jim Nicholson Date: Thu, 1 Feb 2024 01:50:43 -0800 Subject: [PATCH] Test --- vars/buildStep.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vars/buildStep.groovy b/vars/buildStep.groovy index e5de1a4..a24c099 100644 --- a/vars/buildStep.groovy +++ b/vars/buildStep.groovy @@ -10,8 +10,8 @@ Map defaults = [ def call(Map config = [:]) { assert config.artifacts : 'must specify artifacts!' - String runConfig = defaults + config - if ( fileExists("${runConfig.buildTest}")) { + Map runConfig = defaults + config + if ( fileExists(runConfig.buildTest)) { sh """ ${runConfig.buildCmd} """