From 5f4872df3151944c52c50bd4bf658a8679e34aff Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 29 Feb 2012 12:34:20 -0800 Subject: [PATCH] Update list of remote branches. Do this before listing the branches for which we will build venvs so that we pick up on new branches. Change-Id: Ifb53a923902008594f93c693be499af5d7bd821b --- slave_scripts/build-venv.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/slave_scripts/build-venv.sh b/slave_scripts/build-venv.sh index dd940bac..1974cfc2 100755 --- a/slave_scripts/build-venv.sh +++ b/slave_scripts/build-venv.sh @@ -8,6 +8,9 @@ export PIP_DOWNLOAD_CACHE=~/cache/pip rm -fr jenkins_venvs mkdir -p jenkins_venvs +# Update the list of remote refs to pick up new branches +git remote update + # Build a venv for every known branch for branch in `git branch -r |grep "origin/"|grep -v HEAD|sed "s/origin\///"` do