Revamp stages and restructure project #1

Merged
jim merged 32 commits from newstage into master 2024-02-08 02:22:21 +00:00
Showing only changes of commit fa3fd076d4 - Show all commits

View File

@ -5,10 +5,12 @@ void call(Map config = [:], Closure body) {
stepName: 'Checkout', stepName: 'Checkout',
useJobSCM: true useJobSCM: true
] ]
echo "Firing ..." echo 'Firing ...'
runConfig = defaults + config runConfig = defaults + config
stage(runConfig.stepName) { stage(runConfig.stepName) {
checkout scm if (runConfig.useJobSCM) {
checkout scm
}
body() body()
} }
} }