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 8d2fbd1681 - Show all commits

View File

@ -1,6 +1,6 @@
#!/usr/bin/env groovy
void call(Map config = [:]) {
void call(Map config = [:], Closure body) {
Map defaults = [
name: env.BUILD_TAG,
archiveCmd: 'tar zcvf',
@ -19,5 +19,6 @@ void call(Map config = [:]) {
${runConfig.archiveCmd} ${archiveName} ${runConfig.artifacts.join(' ')}
"""
archiveArtifacts artifacts: archiveName, followSymlinks: false
body()
}
}