Commit 46dba713 authored by Dominik Charousset's avatar Dominik Charousset

Avoid whitespaces in artifact names

parent 8e94420e
...@@ -174,7 +174,7 @@ def makeBuildStages(matrixIndex, builds, lblExpr, settings) { ...@@ -174,7 +174,7 @@ def makeBuildStages(matrixIndex, builds, lblExpr, settings) {
node(lblExpr) { node(lblExpr) {
stage(id) { stage(id) {
try { try {
def buildId = "$lblExpr && $buildType" def buildId = "${lblExpr}_${buildType}".replace(' && ', '_')
withEnv(buildEnvironments[lblExpr] ?: []) { withEnv(buildEnvironments[lblExpr] ?: []) {
buildSteps(buildType, settings['cmakeArgs'], buildId) buildSteps(buildType, settings['cmakeArgs'], buildId)
(settings['extraSteps'] ?: []).each { fun -> "$fun"() } (settings['extraSteps'] ?: []).each { fun -> "$fun"() }
...@@ -299,4 +299,3 @@ pipeline { ...@@ -299,4 +299,3 @@ pipeline {
} }
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment