From: Jan-Simon Möller Date: Mon, 24 Apr 2017 21:00:56 +0000 (+0200) Subject: Use --replace-all X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=31cda9e285ec36f95b5d97d8554879d02564b7c4;p=ci-management.git Use --replace-all Change-Id: Icdc71fa6ecd51b513de234b189ad2e7e932ff935 Signed-off-by: Jan-Simon Möller --- diff --git a/jjb/common/include-agl-header.sh b/jjb/common/include-agl-header.sh index 51865ea9..8bd95439 100644 --- a/jjb/common/include-agl-header.sh +++ b/jjb/common/include-agl-header.sh @@ -143,7 +143,8 @@ set -x rm -rf ~/.gitconfi* || true if test ! -f ~/.gitconfig ; then - git config --global --add user.email "jenkins-dontreply@build.automotivelinux.org" --add user.name "jenkins-dontreply@build.automotivelinux.org" + git config --global --replace-all user.email "jenkins-dontreply@build.automotivelinux.org" + git config --global --replace-all user.name "jenkins-dontreply@build.automotivelinux.org" fi #git config --global user.email "jenkins-dontreply@build.automotivelinux.org"