diff options
author | 2017-04-20 10:55:59 +0200 | |
---|---|---|
committer | 2017-04-20 10:55:59 +0200 | |
commit | ad6b8759c58ac85c90c1cbe771dec1773da2214b (patch) | |
tree | 26e5920dd9156d9812c461344478a2e418eeb8b3 /jjb/common | |
parent | aeb54903941fb8cd1a2ef30479b40d7313e42add (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')
-rw-r--r-- | jjb/common/include-agl-header.sh | 2 |
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" |