diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2022-01-17 22:19:09 -0500 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2022-01-17 22:19:09 -0500 |
commit | 5e06070ed11cee515ac6dc75a890fc65407edc56 (patch) | |
tree | 5d8f9a516c61343406012112c48266887d836ea1 | |
parent | d95686afbddfd37d64b785fc1163a6fec0dcd6e6 (diff) | |
download | couchdb-jenkins-dynamic-matrix-2.tar.gz |
Name sub-stages more specificallyjenkins-dynamic-matrix-2
-rw-r--r-- | build-aux/Jenkinsfile.full | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full index 52f5436ef..2ceffacf0 100644 --- a/build-aux/Jenkinsfile.full +++ b/build-aux/Jenkinsfile.full @@ -160,13 +160,15 @@ def generateNativeStage(platform) { def generateContainerStage(platform) { return { + // Important: the stage name here must match the parallelStagesMap key for the + // Jenkins UI to render the pipeline stages correctly. Don't ask why. -APK stage(platform) { node('docker') { timeout(time: 90, unit: "MINUTES") { docker.withRegistry('https://docker.io/', 'dockerhub_creds') { docker.image(meta[platform].image).inside("${DOCKER_ARGS}") { withEnv(['PLATFORM='+platform]) { - stage('Build from tarball & test') { + stage("${meta[platform].name} - build & test") { sh( script: 'rm -rf apache-couchdb-*', label: 'Clean workspace' ) unstash 'tarball' sh( script: unpack, label: 'Unpack tarball' ) @@ -182,7 +184,7 @@ def generateContainerStage(platform) { } } - stage('Build CouchDB packages') { + stage("${meta[platform.name]} - package") { sh 'pwd' sh 'ls -l' unstash 'tarball' |