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

Commit ca0b7ec

Browse files
committed
Jenkinsfile: set repo and branch for DCO check as well
Commit 7019b60d0d6f3d69e6ccf481ca0a912905a9c1d7 added these env-vars to other stages, but forgot to update the DCO stage, which also does a diff to validate commits that are in a PR. Also adding openssh-client, for situations where the upstream needs to be accessed through an ssh connection. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 7c5fd83c22d9540b6e31393abdf62e54c4ff6060) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 9c388fb11928e2a1cb3e821f3d6ba802b1b5533c Component: engine
1 parent 5334d2e commit ca0b7ec

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)