From: Jan-Simon Möller Date: Thu, 20 Apr 2017 08:55:59 +0000 (+0200) Subject: remove already existing .gitconfig X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F53%2F9153%2F1;p=ci-management.git 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 --- 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"