Set Jenkins Automation user git configs globally 53/54453/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Sun, 25 Mar 2018 18:07:57 +0000 (11:07 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Sun, 25 Mar 2018 18:07:57 +0000 (11:07 -0700)
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 <tbramwell@linuxfoundation.org>
jjb/releng/releng-release-create-branch.sh

index ec83653..8375560 100644 (file)
@@ -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