Skip to content
Snippets Groups Projects
Commit 4ce0e47d authored by jurgenhaas's avatar jurgenhaas
Browse files

Merge branch 'develop' into 'main'

Merging develop into main

See merge request !12
parents 8d3d15a6 e527a912
No related branches found
No related tags found
1 merge request!12Merging develop into main
Pipeline #513956 passed
/.ahoy.l3d
/.env
......@@ -85,8 +85,12 @@ else
echo "Find project ID from remote URL ..."
# shellcheck disable=SC2001
path="$(echo "$path" | sed -e 's,\..*,,g')"
gitlab 200 GET projects?search="$path"
gitlab 200 GET "projects?search_namespaces=1&search=$path"
PRJID=$(echo "$result" | jq -r .[0]."id")
if [[ "a${PRJID}a" == "aa" ]]; then
echo "No project found"
exit 6
fi
if [[ $(isNumeric "$PRJID") -eq 1 ]]; then
echo "Can not find project ID"
exit 6
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment