Commit f8e34687 authored by Brett Walker's avatar Brett Walker

find source_vars_template in proper location

parent 6597b28a
Pipeline #88837 passed with stage
in 17 seconds
......@@ -23,7 +23,7 @@ function createIssue() {
while read -r line; do
# shellcheck disable=SC2001
body=$(echo "$body"| sed "s#__${line}__#${!line}#")
done < <(grep -Eho 'export \w+' ./bin/source_vars_template.sh|cut -d" " -f2)
done < <(grep -Eho 'export \w+' "${SCRIPT_DIR}/source_vars_template.sh"|cut -d" " -f2)
PROJECT_ID=${GITLAB_MIGRATION_PROJECT_PATH/\//%2f}
curl --silent --fail --request POST -H "Private-Token: ${GITLAB_TOKEN}" "${GITLAB_INSTANCE}/api/v4/projects/${PROJECT_ID}/issues" --data-urlencode "title=${title}" --data-urlencode "description=${body}" > /dev/null
......
Markdown is supported
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