Fixes for sandbox

This commit is contained in:
Jim Nicholson 2024-02-07 05:09:53 -08:00
parent 7059990c87
commit 3ccc50ec5d

View File

@ -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()