Commit 449c1689 authored by Aleksandra Mnich's avatar Aleksandra Mnich
Browse files

[SIGMON-369] wip

parent bf8f8268
Pipeline #4152348 failed with stage
in 1 minute and 3 seconds
......@@ -11,12 +11,9 @@ yum install jq -y
echo "${EOS_ACCOUNT_PASSWORD}" | kinit "${EOS_ACCOUNT_USERNAME}@CERN.CH"
REPOS=($(curl -s https://gitlab.cern.ch/api/v4/groups/152156 | jq -r ".projects[].http_url_to_repo"))
REPOS=$(curl -s https://gitlab.cern.ch/api/v4/groups/152156 | jq -r ".projects[].http_url_to_repo")
for REPO in REPOS; do
# extract the name
DIR=($(echo $REPO | cut -d/ -f6 | cut -d. -f1))
for REPO in ${REPOS}; do
# check if branch exists
git ls-remote --exit-code --heads "${REPO}" "${ANALYSIS_BRANCH}"
......
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