| ... | ... |
@@ -8,11 +8,11 @@ pipeline {
|
| 8 | 8 |
timestamps() |
| 9 | 9 |
} |
| 10 | 10 |
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') |
|
| 15 |
- booleanParam(name: 'windowsRS1', defaultValue: true, description: 'Windows 2016 (RS1) 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') |
|
| 15 |
+ booleanParam(name: 'windowsRS1', defaultValue: false, description: 'Windows 2016 (RS1) Build/Test') |
|
| 16 | 16 |
booleanParam(name: 'windowsRS5', defaultValue: true, description: 'Windows 2019 (RS5) Build/Test') |
| 17 | 17 |
booleanParam(name: 'skip_dco', defaultValue: false, description: 'Skip the DCO check') |
| 18 | 18 |
} |
| ... | ... |
@@ -219,10 +219,10 @@ pipeline {
|
| 219 | 219 |
} |
| 220 | 220 |
} |
| 221 | 221 |
} |
| 222 |
- stage('janky') {
|
|
| 222 |
+ stage('amd64') {
|
|
| 223 | 223 |
when {
|
| 224 | 224 |
beforeAgent true |
| 225 |
- expression { params.janky }
|
|
| 225 |
+ expression { params.amd64 }
|
|
| 226 | 226 |
} |
| 227 | 227 |
agent { label 'amd64 && ubuntu-1804 && overlay2' }
|
| 228 | 228 |
|
| ... | ... |
@@ -325,7 +325,7 @@ pipeline {
|
| 325 | 325 |
|
| 326 | 326 |
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE', message: 'Failed to create bundles.tar.gz') {
|
| 327 | 327 |
sh ''' |
| 328 |
- bundleName=janky |
|
| 328 |
+ bundleName=amd64 |
|
| 329 | 329 |
echo "Creating ${bundleName}-bundles.tar.gz"
|
| 330 | 330 |
# exclude overlay2 directories |
| 331 | 331 |
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 {
|
| 340 | 340 |
} |
| 341 | 341 |
} |
| 342 | 342 |
} |
| 343 |
- stage('z') {
|
|
| 343 |
+ stage('s390x') {
|
|
| 344 | 344 |
when {
|
| 345 | 345 |
beforeAgent true |
| 346 |
- expression { params.z }
|
|
| 346 |
+ expression { params.s390x }
|
|
| 347 | 347 |
} |
| 348 | 348 |
agent { label 's390x-ubuntu-1604' }
|
| 349 | 349 |
// s390x machines run on Docker 18.06, and buildkit has some bugs on that version |
| ... | ... |
@@ -437,11 +437,11 @@ pipeline {
|
| 437 | 437 |
} |
| 438 | 438 |
} |
| 439 | 439 |
} |
| 440 |
- stage('z-master') {
|
|
| 440 |
+ stage('s390x integration-cli') {
|
|
| 441 | 441 |
when {
|
| 442 | 442 |
beforeAgent true |
| 443 |
- branch 'master' |
|
| 444 |
- expression { params.z }
|
|
| 443 |
+ not { changeRequest() }
|
|
| 444 |
+ expression { params.s390x }
|
|
| 445 | 445 |
} |
| 446 | 446 |
agent { label 's390x-ubuntu-1604' }
|
| 447 | 447 |
// s390x machines run on Docker 18.06, and buildkit has some bugs on that version |
| ... | ... |
@@ -515,13 +515,13 @@ pipeline {
|
| 515 | 515 |
} |
| 516 | 516 |
} |
| 517 | 517 |
} |
| 518 |
- stage('powerpc') {
|
|
| 518 |
+ stage('ppc64le') {
|
|
| 519 | 519 |
when {
|
| 520 | 520 |
beforeAgent true |
| 521 |
- expression { params.powerpc }
|
|
| 521 |
+ expression { params.ppc64le }
|
|
| 522 | 522 |
} |
| 523 | 523 |
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 |
|
| 525 | 525 |
environment { DOCKER_BUILDKIT = '0' }
|
| 526 | 526 |
|
| 527 | 527 |
stages {
|
| ... | ... |
@@ -595,7 +595,7 @@ pipeline {
|
| 595 | 595 |
|
| 596 | 596 |
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE', message: 'Failed to create bundles.tar.gz') {
|
| 597 | 597 |
sh ''' |
| 598 |
- bundleName=powerpc-integration |
|
| 598 |
+ bundleName=ppc64le-integration |
|
| 599 | 599 |
echo "Creating ${bundleName}-bundles.tar.gz"
|
| 600 | 600 |
# exclude overlay2 directories |
| 601 | 601 |
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 {
|
| 610 | 610 |
} |
| 611 | 611 |
} |
| 612 | 612 |
} |
| 613 |
- stage('powerpc-master') {
|
|
| 613 |
+ stage('ppc64le integration-cli') {
|
|
| 614 | 614 |
when {
|
| 615 | 615 |
beforeAgent true |
| 616 |
- branch 'master' |
|
| 617 |
- expression { params.powerpc }
|
|
| 616 |
+ not { changeRequest() }
|
|
| 617 |
+ expression { params.ppc64le }
|
|
| 618 | 618 |
} |
| 619 | 619 |
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 |
|
| 621 | 621 |
environment { DOCKER_BUILDKIT = '0' }
|
| 622 | 622 |
|
| 623 | 623 |
stages {
|
| ... | ... |
@@ -671,7 +671,7 @@ pipeline {
|
| 671 | 671 |
|
| 672 | 672 |
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE', message: 'Failed to create bundles.tar.gz') {
|
| 673 | 673 |
sh ''' |
| 674 |
- bundleName=powerpc-integration-cli |
|
| 674 |
+ bundleName=ppc64le-integration-cli |
|
| 675 | 675 |
echo "Creating ${bundleName}-bundles.tar.gz"
|
| 676 | 676 |
# exclude overlay2 directories |
| 677 | 677 |
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf ${bundleName}-bundles.tar.gz
|
| ... | ... |
@@ -686,10 +686,14 @@ pipeline {
|
| 686 | 686 |
} |
| 687 | 687 |
} |
| 688 | 688 |
} |
| 689 |
- stage('windowsRS1') {
|
|
| 689 |
+ stage('win-RS1') {
|
|
| 690 | 690 |
when {
|
| 691 | 691 |
beforeAgent true |
| 692 |
- expression { params.windowsRS1 }
|
|
| 692 |
+ // Skip this stage on PRs unless the windowsRS1 checkbox is selected |
|
| 693 |
+ anyOf {
|
|
| 694 |
+ not { changeRequest() }
|
|
| 695 |
+ expression { params.windowsRS1 }
|
|
| 696 |
+ } |
|
| 693 | 697 |
} |
| 694 | 698 |
environment {
|
| 695 | 699 |
DOCKER_BUILDKIT = '0' |
| ... | ... |
@@ -727,7 +731,7 @@ pipeline {
|
| 727 | 727 |
} |
| 728 | 728 |
} |
| 729 | 729 |
} |
| 730 |
- stage('windowsRS5-process') {
|
|
| 730 |
+ stage('win-RS5') {
|
|
| 731 | 731 |
when {
|
| 732 | 732 |
beforeAgent true |
| 733 | 733 |
expression { params.windowsRS5 }
|