Merge pull request #411 from thaJeztah/19.03_backport_fix_dco_branch

[19.03 backport] Jenkinsfile: set repo and branch for DCO check as well
This commit is contained in:
Tibor Vass 2019-10-21 16:22:02 -07:00 committed by GitHub
commit 645f559352
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

4
Jenkinsfile vendored
View file

@ -47,7 +47,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'
'''
}
}