Skip to content

Commit

Permalink
Merge pull request #43486 from thaJeztah/20.10_backport_fix_dco_check
Browse files Browse the repository at this point in the history
[20.10 backport] Jenkinsfile: add workaround for CVE-2022-24765
  • Loading branch information
tianon committed Apr 13, 2022
2 parents 086a3fa + a808841 commit ecf2eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Expand Up @@ -52,7 +52,7 @@ pipeline {
-v "$WORKSPACE:/workspace" \
-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'
alpine sh -c 'apk add --no-cache -q bash git openssh-client && git config --system --add safe.directory /workspace && cd /workspace && hack/validate/dco'
'''
}
}
Expand Down

0 comments on commit ecf2eee

Please sign in to comment.