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>
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