1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #39789 from tiborvass/andrewhsu-jenkinsfile

Jenkinsfile: reduce CI time by disabling windows RS1
This commit is contained in:
Tibor Vass 2019-09-13 17:00:48 -07:00 committed by GitHub
commit 984ed95ed7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

12
Jenkinsfile vendored
View file

@ -12,7 +12,7 @@ pipeline {
booleanParam(name: 'amd64', defaultValue: true, description: 'amd64 (x86_64) Build/Test')
booleanParam(name: 's390x', defaultValue: true, description: 'IBM Z (s390x) Build/Test')
booleanParam(name: 'ppc64le', defaultValue: true, description: 'PowerPC (ppc64le) Build/Test')
booleanParam(name: 'windowsRS1', defaultValue: true, description: 'Windows 2016 (RS1) Build/Test')
booleanParam(name: 'windowsRS1', defaultValue: false, description: 'Windows 2016 (RS1) Build/Test')
booleanParam(name: 'windowsRS5', defaultValue: true, description: 'Windows 2019 (RS5) Build/Test')
booleanParam(name: 'skip_dco', defaultValue: false, description: 'Skip the DCO check')
}
@ -463,7 +463,7 @@ pipeline {
stage('s390x integration-cli') {
when {
beforeAgent true
branch 'master'
not { changeRequest() }
expression { params.s390x }
}
agent { label 's390x-ubuntu-1604' }
@ -647,7 +647,7 @@ pipeline {
stage('ppc64le integration-cli') {
when {
beforeAgent true
branch 'master'
not { changeRequest() }
expression { params.ppc64le }
}
agent { label 'ppc64le-ubuntu-1604' }
@ -728,7 +728,11 @@ pipeline {
stage('win-RS1') {
when {
beforeAgent true
expression { params.windowsRS1 }
// Skip this stage on PRs unless the windowsRS1 checkbox is selected
anyOf {
not { changeRequest() }
expression { params.windowsRS1 }
}
}
environment {
DOCKER_BUILDKIT = '0'