diff options
-rw-r--r-- | jjb/common/include-agl-header.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jjb/common/include-agl-header.sh b/jjb/common/include-agl-header.sh index 2dbf9269..6e118837 100644 --- a/jjb/common/include-agl-header.sh +++ b/jjb/common/include-agl-header.sh @@ -165,6 +165,9 @@ set | grep ^GERRIT || true set | grep ^MACHINE || true #fi +# to avoid .gitconfig.lock race condition do +sleep $((1 + RANDOM % 10)) + if test ! -f ~/.gitconfig ; then git config --global user.email "jenkins-dontreply@build.automotivelinux.org" git config --global user.name "jenkins-dontreply@build.automotivelinux.org" |