diff --git a/vars/checkoutStep.groovy b/vars/checkoutStep.groovy index 8043204..2d1c08a 100644 --- a/vars/checkoutStep.groovy +++ b/vars/checkoutStep.groovy @@ -5,7 +5,7 @@ void call(Map config = [:], Closure body) { stepName: 'Checkout', useJobSCM: true ] - runDefaults = defaults + config + runConfig = defaults + config stage(runConfig.stepName) { checkout scm body()