From ad854af95b6e6e102f5295933b03370b5bb079b0 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Tue, 3 Sep 2013 17:40:52 -0700 Subject: [PATCH] Use gerrit for the remote update in post jobs At least until we can fetch ref-updated refs from Zuul. Change-Id: I2f963f097e05b78205044afc8b83349d8918cf8d --- modules/jenkins/files/slave_scripts/gerrit-git-prep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/jenkins/files/slave_scripts/gerrit-git-prep.sh b/modules/jenkins/files/slave_scripts/gerrit-git-prep.sh index a550093473..582d6be11a 100755 --- a/modules/jenkins/files/slave_scripts/gerrit-git-prep.sh +++ b/modules/jenkins/files/slave_scripts/gerrit-git-prep.sh @@ -16,7 +16,7 @@ then exit 1 fi -if [ -z "$GIT_ORIGIN" ] +if [ -z "$GIT_ORIGIN" ] || [ -n "$ZUUL_NEWREV" ] then GIT_ORIGIN="$GERRIT_SITE/p" # git://git.openstack.org/