Merge pull request #43486 from thaJeztah/20.10_backport_fix_dco_check

[20.10 backport] Jenkinsfile: add workaround for CVE-2022-24765
This commit is contained in:
Tianon Gravi 2022-04-13 11:39:23 -07:00 committed by GitHub
commit ecf2eee0f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -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'
'''
}
}