Use ZUUL_ prefix instead of GERRIT_ prefix in jobs

* modules/jenkins/files/slave_scripts/create-ppa-package.sh:
* modules/jenkins/files/slave_scripts/docbook-properties.sh: Use
ZUUL_REFNAME instead of GERRIT_REFNAME as the jenkins gearman plugin
does not receive GERRIT_* parameters.

Change-Id: I5869b277e9344b8805997a3c702e1ae3af0a9e8f
Reviewed-on: https://review.openstack.org/34052
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
This commit is contained in:
Clark Boylan 2013-06-21 14:21:25 -07:00 committed by Jenkins
parent f7d56d5a4d
commit 5fbf5dd6c1
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ then
exit 1
fi
case "$GERRIT_REFNAME" in
case "$ZUUL_REFNAME" in
master)
export PPAS="ppa:openstack-ppa/bleeding-edge"
;;
@ -14,7 +14,7 @@ case "$GERRIT_REFNAME" in
export PPAS="ppa:openstack-ppa/milestone-proposed"
;;
*)
echo "No PPA defined for branch $GERRIT_REFNAME"
echo "No PPA defined for branch $ZUUL_REFNAME"
exit 0
esac

View File

@ -7,7 +7,7 @@
# In case we start doing something more sophisticated with other refs
# later (such as tags).
BRANCH=$GERRIT_REFNAME
BRANCH=$ZUUL_REFNAME
# The master branch should get published to /trunk
if [ $BRANCH == "master" ]