From e1ee55eb06e11f6a7ddb72cd1bb2dd196b62cf55 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Sat, 23 Sep 2017 14:56:04 -0400 Subject: [PATCH] Update wheel-build.sh for zuulv3.o.o We no longer have remotes on git repos pushed to our nodes. So just check the local branches zuul knows about. Change-Id: Ic70c84990a748df46a70426e7879941fb1deec0f Signed-off-by: Paul Belanger --- jenkins/scripts/wheel-build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins/scripts/wheel-build.sh b/jenkins/scripts/wheel-build.sh index e44913d2c0..55e909ae95 100755 --- a/jenkins/scripts/wheel-build.sh +++ b/jenkins/scripts/wheel-build.sh @@ -13,8 +13,8 @@ mkdir -p ${LOGS} rm -rf ${LOGS}/* # Extract and iterate over all the branch names. -BRANCHES=`git --git-dir=$WORKING_DIR/.git branch -r | grep '^ origin/[^H]'` -for BRANCH in $BRANCHES; do +BRANCHES=`git --git-dir=$WORKING_DIR/.git branch -a | grep '^ stable'` +for BRANCH in master $BRANCHES; do git --git-dir=$WORKING_DIR/.git show $BRANCH:upper-constraints.txt \ 2>/dev/null > /tmp/upper-constraints.txt || true