Merge pull request #40119 from thaJeztah/fix_dco_branch

Jenkinsfile: set repo and branch for DCO check as well
This commit is contained in:
Tibor Vass 2019-10-21 16:21:30 -07:00 committed by GitHub
commit 5100013ced
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

4
Jenkinsfile vendored
View file

@ -48,7 +48,9 @@ pipeline {
sh '''
docker run --rm \
-v "$WORKSPACE:/workspace" \
alpine sh -c 'apk add --no-cache -q git bash && cd /workspace && hack/validate/dco'
-e VALIDATE_REPO=${GIT_URL} \
-e VALIDATE_BRANCH=${CHANGE_TARGET} \
alpine sh -c 'apk add --no-cache -q bash git openssh-client && cd /workspace && hack/validate/dco'
'''
}
}