Switch constraints proposal to use zuul-git-prep

This is a workaround for the inability to pass a branch override
into the gerrit-git-prep macro.

Change-Id: I698ca867f39c6ed032f37160163be16452250068
This commit is contained in:
Jeremy Stanley
2015-06-29 23:43:59 +00:00
parent 67ea589dd4
commit df9afa850a

View File

@@ -93,14 +93,11 @@
- revoke-sudo
- link-logs
- net-info
- gerrit-git-prep
- zuul-git-prep:
branch-override: '{branch-override}'
- shell: |
#!/bin/bash -xe
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
/usr/local/jenkins/slave_scripts/propose_update.sh requirements-constraints
/usr/local/jenkins/slave_scripts/propose_update.sh \
requirements-constraints
publishers:
- console-log