From b25f1bfe89e7a1941b1770102b08d435c3bf4c70 Mon Sep 17 00:00:00 2001 From: The_Spider Date: Thu, 14 Apr 2022 11:01:25 -0500 Subject: [PATCH] adds safe.directory --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 556861f..002e050 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -98,6 +98,7 @@ sonar.go.coverage.reportPaths=cover.out apt-get install --yes --no-install-recommends libusb-1.0-0-dev gcc g++ if [ ! "/usr/bin/git" ] || [ ! -x "/usr/bin/git" ]; then apt-get install --yes --no-install-recommends git + git config --global --add safe.directory '${workspace}' fi if [ ! "/usr/bin/upx" ] || [ ! -x "/usr/bin/upx" ]; then apt-get install --yes --no-install-recommends upx