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>
| ... | ... |
@@ -47,7 +47,9 @@ pipeline {
|
| 47 | 47 |
sh ''' |
| 48 | 48 |
docker run --rm \ |
| 49 | 49 |
-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' |
|
| 51 | 53 |
''' |
| 52 | 54 |
} |
| 53 | 55 |
} |