Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit f7c741a

Browse files
thaJeztahandrewhsu
authored andcommitted
Jenkinsfile: shorten stage names for consistency and to fit Jenkins UI
The Blue Ocean UI truncates names, which makes it possible to distinguish which Windows stage is RS1 or RS5. This patch shortens those names so that they fit in the Blue Ocean UI. Other stages and parameters were renamed as well to better reflect what they're running; Before | After -------------------|-------------------------------- janky | amd64 power | ppc64le power-master | ppc64le integration-cli windowsRS1 | win-RS1 windowsRS5-process | win-RS5 z | s390x z-master | x390x integration-cli Signed-off-by: Sebastiaan van Stijn <github@gone.nl> WIP renames Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit c18f793f40c8692a06a73a8ed1b14b05091964f9) Signed-off-by: Andrew Hsu <andrewhsu@docker.com> Upstream-commit: ca22ec44ba3f7e90e26662e842804cdb79c6bb9c Component: engine
1 parent 60135e6 commit f7c741a

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

components/engine/Jenkinsfile

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ pipeline {
88
timestamps()
99
}
1010
parameters {
11-
booleanParam(name: 'unit_validate', defaultValue: true, description: 'x86 unit tests and vendor check')
12-
booleanParam(name: 'janky', defaultValue: true, description: 'x86 Build/Test')
13-
booleanParam(name: 'z', defaultValue: true, description: 'IBM Z (s390x) Build/Test')
14-
booleanParam(name: 'powerpc', defaultValue: true, description: 'PowerPC (ppc64le) Build/Test')
11+
booleanParam(name: 'unit_validate', defaultValue: true, description: 'amd64 (x86_64) unit tests and vendor check')
12+
booleanParam(name: 'amd64', defaultValue: true, description: 'amd64 (x86_64) Build/Test')
13+
booleanParam(name: 's390x', defaultValue: true, description: 'IBM Z (s390x) Build/Test')
14+
booleanParam(name: 'ppc64le', defaultValue: true, description: 'PowerPC (ppc64le) Build/Test')
1515
booleanParam(name: 'windowsRS1', defaultValue: true, description: 'Windows 2016 (RS1) Build/Test')
1616
booleanParam(name: 'windowsRS5', defaultValue: true, description: 'Windows 2019 (RS5) Build/Test')
1717
booleanParam(name: 'skip_dco', defaultValue: false, description: 'Skip the DCO check')
@@ -219,10 +219,10 @@ pipeline {
219219
}
220220
}
221221
}
222-
stage('janky') {
222+
stage('amd64') {
223223
when {
224224
beforeAgent true
225-
expression { params.janky }
225+
expression { params.amd64 }
226226
}
227227
agent { label 'amd64 && ubuntu-1804 && overlay2' }
228228

@@ -325,7 +325,7 @@ pipeline {
325325

326326
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE', message: 'Failed to create bundles.tar.gz') {
327327
sh '''
328-
bundleName=janky
328+
bundleName=amd64
329329
echo "Creating ${bundleName}-bundles.tar.gz"
330330
# exclude overlay2 directories
331331
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf ${bundleName}-bundles.tar.gz
@@ -340,10 +340,10 @@ pipeline {
340340
}
341341
}
342342
}
343-
stage('z') {
343+
stage('s390x') {
344344
when {
345345
beforeAgent true
346-
expression { params.z }
346+
expression { params.s390x }
347347
}
348348
agent { label 's390x-ubuntu-1604' }
349349
// s390x machines run on Docker 18.06, and buildkit has some bugs on that version
@@ -437,11 +437,11 @@ pipeline {
437437
}
438438
}
439439
}
440-
stage('z-master') {
440+
stage('s390x integration-cli') {
441441
when {
442442
beforeAgent true
443443
branch 'master'
444-
expression { params.z }
444+
expression { params.s390x }
445445
}
446446
agent { label 's390x-ubuntu-1604' }
447447
// s390x machines run on Docker 18.06, and buildkit has some bugs on that version
@@ -515,13 +515,13 @@ pipeline {
515515
}
516516
}
517517
}
518-
stage('powerpc') {
518+
stage('ppc64le') {
519519
when {
520520
beforeAgent true
521-
expression { params.powerpc }
521+
expression { params.ppc64le }
522522
}
523523
agent { label 'ppc64le-ubuntu-1604' }
524-
// power machines run on Docker 18.06, and buildkit has some bugs on that version
524+
// ppc64le machines run on Docker 18.06, and buildkit has some bugs on that version
525525
environment { DOCKER_BUILDKIT = '0' }
526526

527527
stages {
@@ -595,7 +595,7 @@ pipeline {
595595

596596
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE', message: 'Failed to create bundles.tar.gz') {
597597
sh '''
598-
bundleName=powerpc-integration
598+
bundleName=ppc64le-integration
599599
echo "Creating ${bundleName}-bundles.tar.gz"
600600
# exclude overlay2 directories
601601
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf ${bundleName}-bundles.tar.gz
@@ -610,14 +610,14 @@ pipeline {
610610
}
611611
}
612612
}
613-
stage('powerpc-master') {
613+
stage('ppc64le integration-cli') {
614614
when {
615615
beforeAgent true
616616
branch 'master'
617-
expression { params.powerpc }
617+
expression { params.ppc64le }
618618
}
619619
agent { label 'ppc64le-ubuntu-1604' }
620-
// power machines run on Docker 18.06, and buildkit has some bugs on that version
620+
// ppc64le machines run on Docker 18.06, and buildkit has some bugs on that version
621621
environment { DOCKER_BUILDKIT = '0' }
622622

623623
stages {
@@ -671,7 +671,7 @@ pipeline {
671671

672672
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE', message: 'Failed to create bundles.tar.gz') {
673673
sh '''
674-
bundleName=powerpc-integration-cli
674+
bundleName=ppc64le-integration-cli
675675
echo "Creating ${bundleName}-bundles.tar.gz"
676676
# exclude overlay2 directories
677677
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf ${bundleName}-bundles.tar.gz
@@ -686,7 +686,7 @@ pipeline {
686686
}
687687
}
688688
}
689-
stage('windowsRS1') {
689+
stage('win-RS1') {
690690
when {
691691
beforeAgent true
692692
expression { params.windowsRS1 }
@@ -727,7 +727,7 @@ pipeline {
727727
}
728728
}
729729
}
730-
stage('windowsRS5-process') {
730+
stage('win-RS5') {
731731
when {
732732
beforeAgent true
733733
expression { params.windowsRS5 }

0 commit comments

Comments
 (0)