From 95d09355a36a437d1fbf43081140e0109088f684 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Tue, 10 Dec 2013 17:46:38 -0800 Subject: [PATCH] Fix branch logic in req propose script Checkout the appropriate branch in the target project directory before syncing the requirements. Change-Id: I9947255412b57e6d7be0b95bd920b85f1c92658a --- .../jenkins/files/slave_scripts/propose_requirements_update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/jenkins/files/slave_scripts/propose_requirements_update.sh b/modules/jenkins/files/slave_scripts/propose_requirements_update.sh index 6f41156723..6c42a99e45 100755 --- a/modules/jenkins/files/slave_scripts/propose_requirements_update.sh +++ b/modules/jenkins/files/slave_scripts/propose_requirements_update.sh @@ -58,6 +58,7 @@ EOF git clone ssh://$USERNAME@review.openstack.org:29418/$PROJECT.git pushd $PROJECT_DIR + git checkout $BRANCH git review -s if [ -n "$change_id" ] ; then git review -d $change_id