From ad6b8759c58ac85c90c1cbe771dec1773da2214b Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Thu, 20 Apr 2017 10:55:59 +0200 Subject: remove already existing .gitconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- jjb/common/include-agl-header.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'jjb/common/include-agl-header.sh') 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" -- cgit 1.2.3-korg