Merge "CI: Use .gitreview to default BRANCH_NAME."

This commit is contained in:
Joshua Colp
2018-09-13 09:00:15 -05:00
committed by Gerrit Code Review

View File

@@ -6,6 +6,10 @@ REF_DEBUG=0
DISABLE_BINARY_MODULES=0
source $CIDIR/ci.functions
if [ -z $BRANCH_NAME ]; then
BRANCH_NAME=$(git config -f .gitreview --get gerrit.defaultbranch)
fi
gen_cats() {
set +x
action=$1