networking-midonet: Fix branch check for periodic jobs
ZUUL_BRANCH doesn't seem available for timer trigger. [1] [1] http://docs.openstack.org/infra/zuul/launchers.html#change-related-parameters Closes-Bug: #1656174 Change-Id: I029209919299dec196bff9fad1edc812ffa15ced
This commit is contained in:
parent
cfc3d0b2aa
commit
f555ff8ede
|
@ -91,7 +91,8 @@
|
|||
export PROJECTS="openstack/networking-midonet $PROJECTS"
|
||||
export PROJECTS="openstack/tap-as-a-service $PROJECTS"
|
||||
|
||||
if [[ ! "stable/mitaka" =~ $ZUUL_BRANCH ]]; then
|
||||
BRANCH=${{OVERRIDE_ZUUL_BRANCH:-$ZUUL_BRANCH}}
|
||||
if [[ ! "stable/mitaka" =~ $BRANCH ]]; then
|
||||
function gate_hook {{
|
||||
bash -xe $BASE/new/networking-midonet/devstack/ci/gate_hook.sh {midonet-plugin}
|
||||
}}
|
||||
|
|
Loading…
Reference in New Issue