From 2887d6a125b5784b4d8ad6d3718a833ee8b4dc07 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Wed, 12 Sep 2012 08:01:25 -0700 Subject: [PATCH] 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 Reviewed-by: James E. Blair Tested-by: Jenkins --- .../jenkins/files/slave_scripts/propose_translation_update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/jenkins/files/slave_scripts/propose_translation_update.sh b/modules/jenkins/files/slave_scripts/propose_translation_update.sh index 2e724b3bea..bdf0563b3f 100755 --- a/modules/jenkins/files/slave_scripts/propose_translation_update.sh +++ b/modules/jenkins/files/slave_scripts/propose_translation_update.sh @@ -4,6 +4,9 @@ PROJECT=$1 git config user.name "OpenStack Jenkins" 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 # If so, amend the commit with new changes since then