HBASE-12944 Support patches to branches in precommit jenkins build (ADDENDUM to fix branch name parsing)
This commit is contained in:
parent
a5613efa7b
commit
c61c17b6f8
|
@ -229,7 +229,7 @@ checkoutBranch() {
|
||||||
echo ""
|
echo ""
|
||||||
echo ""
|
echo ""
|
||||||
if [[ $JENKINS == "true" ]] ; then
|
if [[ $JENKINS == "true" ]] ; then
|
||||||
if [[ $BRANCH_NAME -ne "master" ]]; then
|
if [[ "$BRANCH_NAME" != "master" ]]; then
|
||||||
echo "${GIT} checkout ${BRANCH_NAME}"
|
echo "${GIT} checkout ${BRANCH_NAME}"
|
||||||
${GIT} checkout ${BRANCH_NAME}
|
${GIT} checkout ${BRANCH_NAME}
|
||||||
echo "${GIT} status"
|
echo "${GIT} status"
|
||||||
|
|
Loading…
Reference in New Issue