mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Rename DCO check param in Jenkinsfile
Previously it was a negative parameter for skiping the DCO check, but this is different from other checks. It was requested that I change this in #40023 but I'm factoring it out as an unrelated change. Signed-off-by: Sam Whited <sam@samwhited.com>
This commit is contained in:
parent
7cb46617fc
commit
d6a91ca71c
1 changed files with 4 additions and 4 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -15,7 +15,7 @@ pipeline {
|
||||||
booleanParam(name: 'ppc64le', defaultValue: true, description: 'PowerPC (ppc64le) Build/Test')
|
booleanParam(name: 'ppc64le', defaultValue: true, description: 'PowerPC (ppc64le) Build/Test')
|
||||||
booleanParam(name: 'windowsRS1', defaultValue: false, 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: 'dco', defaultValue: true, description: 'Run the DCO check')
|
||||||
}
|
}
|
||||||
environment {
|
environment {
|
||||||
DOCKER_BUILDKIT = '1'
|
DOCKER_BUILDKIT = '1'
|
||||||
|
@ -41,7 +41,7 @@ pipeline {
|
||||||
stage('DCO-check') {
|
stage('DCO-check') {
|
||||||
when {
|
when {
|
||||||
beforeAgent true
|
beforeAgent true
|
||||||
expression { !params.skip_dco }
|
expression { params.dco }
|
||||||
}
|
}
|
||||||
agent { label 'amd64 && ubuntu-1804 && overlay2' }
|
agent { label 'amd64 && ubuntu-1804 && overlay2' }
|
||||||
steps {
|
steps {
|
||||||
|
|
Loading…
Add table
Reference in a new issue