Commit bc204719 authored by Aleksandra Mnich's avatar Aleksandra Mnich
Browse files

[SIGMON-369] wip

parent cc451c49
Pipeline #4152012 failed
...@@ -17,8 +17,8 @@ for REPO in REPOS; do ...@@ -17,8 +17,8 @@ for REPO in REPOS; do
# check if branch exists # check if branch exists
git ls-remote --exit-code --heads "${REPO}" "${ANALYSIS_BRANCH}" git ls-remote --exit-code --heads "${REPO}" "${ANALYSIS_BRANCH}"
if [ "$?" == "2" ]; then if [ "$?" == "2" ]; then
echo "Branch '${ANALYSIS_BRANCH}' not found in ${DIR}, using 'master' instead" echo "Branch '${ANALYSIS_BRANCH}' not found in ${DIR}, using 'dev' instead"
export ANALYSIS_BRANCH='master' export ANALYSIS_BRANCH='dev'
fi; fi;
git clone --single-branch --branch $ANALYSIS_BRANCH "${REPO}" git clone --single-branch --branch $ANALYSIS_BRANCH "${REPO}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment