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:
commit
645f559352
1 changed files with 3 additions and 1 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -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'
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue