Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit a4cbe9c

Browse files
authored
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 Upstream-commit: 645f5593522440ce488425861f62309a9f8d3e0c Component: engine
2 parents 5334d2e + ca0b7ec commit a4cbe9c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

components/engine/Jenkinsfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ pipeline {
4747
sh '''
4848
docker run --rm \
4949
-v "$WORKSPACE:/workspace" \
50-
alpine sh -c 'apk add --no-cache -q git bash && cd /workspace && hack/validate/dco'
50+
-e VALIDATE_REPO=${GIT_URL} \
51+
-e VALIDATE_BRANCH=${CHANGE_TARGET} \
52+
alpine sh -c 'apk add --no-cache -q bash git openssh-client && cd /workspace && hack/validate/dco'
5153
'''
5254
}
5355
}

0 commit comments

Comments
 (0)