Merge "CI: Use .gitreview to default BRANCH_NAME." into 16
This commit is contained in:
commit
9db82309d5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue