Revamp stages and restructure project #1
@ -21,7 +21,7 @@ void call(Map config = [:], Closure body) {
|
|||||||
error("ERROR: File ${runConfig.buildTest} does not exist in workspace.")
|
error("ERROR: File ${runConfig.buildTest} does not exist in workspace.")
|
||||||
}
|
}
|
||||||
if (runConfig.saveArtifacts) {
|
if (runConfig.saveArtifacts) {
|
||||||
artifactsList = runConfig.artifacts.inspect().replaceAll('[\\[\\]\'\"]', '')
|
artifactsList = runConfig.artifacts.join(',')
|
||||||
archiveArtifacts artifacts: artifactsList, followSymlinks: false
|
archiveArtifacts artifacts: artifactsList, followSymlinks: false
|
||||||
}
|
}
|
||||||
body()
|
body()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user