Set default global conf for git
This is to resolve the following error: fatal: unable to auto-detect email address (got 'root@dsvm-devstack-rax-iad-nodepool-753876.(none)') Change-Id: I1384581e4017a1733f10ec1ad30e7a2173a65e9f
This commit is contained in:
parent
d26aac09eb
commit
7fffc4c5f2
@ -192,6 +192,9 @@ if [ "${ZUUL_URL}" = "https://review.openstack.org/p" -a -n "$ZUUL_CHANGES" ]; t
|
||||
# Need fetch depends-on patches specially.
|
||||
changes=$(echo $ZUUL_CHANGES | tr '^' ' ')
|
||||
echo "Processing depends-on changes: $changes"
|
||||
# set default global config for "git merge"
|
||||
git config --global user.email "openstack-ci@citrix.com"
|
||||
git config --global user.name "Citrix OpenStack Jenkins"
|
||||
for change in $changes; do
|
||||
project=$(echo $change | cut -d: -f1);
|
||||
# Skip the changes belong to $ZUUL_PROJECT which
|
||||
|
Loading…
x
Reference in New Issue
Block a user