Need to git review -s before pushing to gerrit.
There is a bug in git-review where it doesn't properly configure itself if it needs to before sending a patchset to gerrit. To get around this explicitly configure git review. Change-Id: I89cce741fd0ceb1e4fc4078bf2a53757cefec424 Reviewed-on: https://review.openstack.org/12880 Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
fa4c6dfa8e
commit
2887d6a125
@ -4,6 +4,9 @@ PROJECT=$1
|
|||||||
|
|
||||||
git config user.name "OpenStack Jenkins"
|
git config user.name "OpenStack Jenkins"
|
||||||
git config user.email "jenkins@openstack.org"
|
git config user.email "jenkins@openstack.org"
|
||||||
|
git config gitreview.username "jenkins"
|
||||||
|
|
||||||
|
git review -s
|
||||||
|
|
||||||
# See if there is an open change in the transifex/translations topic
|
# See if there is an open change in the transifex/translations topic
|
||||||
# If so, amend the commit with new changes since then
|
# If so, amend the commit with new changes since then
|
||||||
|
Loading…
Reference in New Issue
Block a user