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
This commit is contained in:
Craig Bryant 2016-02-09 07:36:12 -07:00
parent da8b8f300a
commit 698b9a5d2d
1 changed files with 1 additions and 1 deletions

View File

@ -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