Fix regexp
This commit is contained in:
parent
2850ee20a3
commit
ada5b92ae5
@ -22,7 +22,7 @@ def call(Map config = [:]) {
|
||||
error("ERROR: File ${runConfig.buildTest} does not exist in workspace.")
|
||||
}
|
||||
if (runConfig.saveArtifacts) {
|
||||
artifactsList = runConfig.artifacts.inspect().replaceAll("\\[\\]")
|
||||
artifactsList = runConfig.artifacts.inspect().replaceAll('\\[\\]','')
|
||||
archiveArtifacts artifacts: artifactsList, followSymlinks: false
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user