Revamp stages and restructure project #1

Merged
jim merged 32 commits from newstage into master 2024-02-08 02:22:21 +00:00
2 changed files with 12 additions and 1 deletions
Showing only changes of commit 2427480775 - Show all commits

View File

@ -5,7 +5,6 @@ void call(Map config = [:], Closure body = { }) {
stepName: 'Checkout',
useJobSCM: true
]
echo 'Firing ...'
runConfig = defaults + config
stage(runConfig.stepName) {
printBanner(runConfig.stepName)

12
vars/publishStep.groovy Normal file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env groovy
void call(Map config = [:], Closure body = { }) {
Map defaults = [
stepName: 'Publish'
]
runConfig = defaults + config
stage(runConfig.stepName) {
printBanner(runConfig.stepName)
body()
}
}