From: Trevor Bramwell Date: Sun, 25 Mar 2018 18:07:57 +0000 (-0700) Subject: Set Jenkins Automation user git configs globally X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=743343913f1f311f82881dd57daab4cd8f3439d4;p=releng.git Set Jenkins Automation user git configs globally These settings don't appear to be being picked up when the commit happens. Setting them globally should fix this. Change-Id: Ic93a65c7b1676a465e85af3909b20ba2bcf60f74 Signed-off-by: Trevor Bramwell --- diff --git a/jjb/releng/releng-release-create-branch.sh b/jjb/releng/releng-release-create-branch.sh index ec8365340..83755608e 100644 --- a/jjb/releng/releng-release-create-branch.sh +++ b/jjb/releng/releng-release-create-branch.sh @@ -10,8 +10,8 @@ set -xe # Configure the git user/email as we'll be pushing up changes -git config user.name "jenkins-ci" -git config user.email "jenkins-opnfv-ci@opnfv.org" +git config --global user.name "jenkins-ci" +git config --global user.email "jenkins-opnfv-ci@opnfv.org" # Ensure we are able to generate Commit-IDs for new patchsets curl -kLo .git/hooks/commit-msg https://gerrit.opnfv.org/gerrit/tools/hooks/commit-msg