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:
parent
f7d56d5a4d
commit
5fbf5dd6c1
@ -6,7 +6,7 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$GERRIT_REFNAME" in
|
case "$ZUUL_REFNAME" in
|
||||||
master)
|
master)
|
||||||
export PPAS="ppa:openstack-ppa/bleeding-edge"
|
export PPAS="ppa:openstack-ppa/bleeding-edge"
|
||||||
;;
|
;;
|
||||||
@ -14,7 +14,7 @@ case "$GERRIT_REFNAME" in
|
|||||||
export PPAS="ppa:openstack-ppa/milestone-proposed"
|
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
|
exit 0
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
# In case we start doing something more sophisticated with other refs
|
# In case we start doing something more sophisticated with other refs
|
||||||
# later (such as tags).
|
# later (such as tags).
|
||||||
BRANCH=$GERRIT_REFNAME
|
BRANCH=$ZUUL_REFNAME
|
||||||
|
|
||||||
# The master branch should get published to /trunk
|
# The master branch should get published to /trunk
|
||||||
if [ $BRANCH == "master" ]
|
if [ $BRANCH == "master" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user