aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-header.sh
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-04-20 10:55:59 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-04-20 10:55:59 +0200
commitad6b8759c58ac85c90c1cbe771dec1773da2214b (patch)
tree26e5920dd9156d9812c461344478a2e418eeb8b3 /jjb/common/include-agl-header.sh
parentaeb54903941fb8cd1a2ef30479b40d7313e42add (diff)
remove already existing .gitconfig
Try to fix: + git config --global user.email jenkins-dontreply@build.automotivelinux.org error: could not lock config file /home/jenkins/.gitconfig: File exists Build step 'Execute shell' marked build as failure Change-Id: Ifc31056d872564e1a700a9ab9e572a6d07549ced Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-agl-header.sh')
-rw-r--r--jjb/common/include-agl-header.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/jjb/common/include-agl-header.sh b/jjb/common/include-agl-header.sh
index f3287e94..e2f527ee 100644
--- a/jjb/common/include-agl-header.sh
+++ b/jjb/common/include-agl-header.sh
@@ -140,6 +140,8 @@ set | grep ^MACHINE || true
set -x
+rm -rf ~/.gitconfig || true
+
git config --global user.email "jenkins-dontreply@build.automotivelinux.org"
sleep 1
git config --global user.name "jenkins-dontreply@build.automotivelinux.org"