You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2022/01/18 03:20:35 UTC

[couchdb] branch jenkins-dynamic-matrix-2 updated: Name sub-stages more specifically

This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a commit to branch jenkins-dynamic-matrix-2
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/jenkins-dynamic-matrix-2 by this push:
     new 5e06070  Name sub-stages more specifically
5e06070 is described below

commit 5e06070ed11cee515ac6dc75a890fc65407edc56
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Mon Jan 17 22:19:09 2022 -0500

    Name sub-stages more specifically
---
 build-aux/Jenkinsfile.full | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index 52f5436..2ceffac 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'