From 698b9a5d2de5bd44f7a41e017a6429f7931f9ba3 Mon Sep 17 00:00:00 2001 From: Craig Bryant Date: Tue, 9 Feb 2016 07:36:12 -0700 Subject: [PATCH] Ensure the same branch is used for common build Only the master branch is used today, but be ready when there are additional branches Almost got it right on the last commit. Didn't actually use the new variable. Unfortunately, to test these changes, we have to actually get to the post jobs. Change-Id: I54b5d484ea1da976abfa1e6cfc780abe21827030 --- run_maven.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_maven.sh b/run_maven.sh index e42c318..782e6ed 100755 --- a/run_maven.sh +++ b/run_maven.sh @@ -36,7 +36,7 @@ if [ $RUN_BUILD = "true" ]; then BRANCH=${ZUUL_REF} fi - ( cd common; ./build_common.sh ${MVN} ${COMMON_VERSION} ${ZUUL_BRANCH} ) + ( cd common; ./build_common.sh ${MVN} ${COMMON_VERSION} ${BRANCH} ) RC=$? if [ $RC != 0 ]; then exit $RC