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

skip win-RS1 on PRs unless the checkbox is checked

Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Andrew Hsu 2019-09-10 23:37:09 +00:00
parent ad718029b7
commit 039eb05ac8

6
Jenkinsfile vendored
View file

@ -12,7 +12,7 @@ pipeline {
booleanParam(name: 'amd64', defaultValue: true, description: 'amd64 (x86_64) Build/Test') booleanParam(name: 'amd64', defaultValue: true, description: 'amd64 (x86_64) Build/Test')
booleanParam(name: 's390x', defaultValue: true, description: 'IBM Z (s390x) 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: '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: 'windowsRS5', defaultValue: true, description: 'Windows 2019 (RS5) Build/Test')
booleanParam(name: 'skip_dco', defaultValue: false, description: 'Skip the DCO check') booleanParam(name: 'skip_dco', defaultValue: false, description: 'Skip the DCO check')
} }
@ -728,8 +728,12 @@ pipeline {
stage('win-RS1') { stage('win-RS1') {
when { when {
beforeAgent true beforeAgent true
// Skip this stage on PRs unless the windowsRS1 checkbox is selected
anyOf {
not { changeRequest() }
expression { params.windowsRS1 } expression { params.windowsRS1 }
} }
}
environment { environment {
DOCKER_BUILDKIT = '0' DOCKER_BUILDKIT = '0'
DOCKER_DUT_DEBUG = '1' DOCKER_DUT_DEBUG = '1'