networking-midonet: Fix branch check for periodic jobs
ZUUL_BRANCH doesn't seem available for timer trigger. [1]
[1]
Closes-Bug:
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}
}}
