mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-04-14 19:46:54 +00:00
gitlab-ci: improved logging for trigger-issuebot
This commit is contained in:
parent
6597064fbf
commit
eff041ccfa
2 changed files with 2 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ trigger-issuebot:
|
|||
expire_in: 1 week
|
||||
script:
|
||||
- mkdir logs
|
||||
- export | grep -F CI_ > logs/export.txt
|
||||
- export | grep -F CI_ | grep -vFi -e password -e token > logs/export.txt
|
||||
- apk add --no-cache bash curl
|
||||
- ./tools/trigger-issuebot
|
||||
|
||||
|
|
|
|||
|
|
@ -45,5 +45,5 @@ curl --silent --request POST \
|
|||
--form "variables[FROM_CI_PIPELINE_ID]=$CI_PIPELINE_ID" \
|
||||
--form "variables[FROM_CI_PROJECT_PATH]=$CI_PROJECT_PATH" \
|
||||
--form "variables[FROM_CI_PROJECT_URL]=$CI_PROJECT_URL" \
|
||||
${CI_API_V4_URL}/projects/${project_id}/trigger/pipeline > /dev/null \
|
||||
${CI_API_V4_URL}/projects/${project_id}/trigger/pipeline > logs/result.json \
|
||||
|| echo "$0 failed to post to a merge request"
|
||||
|
|
|
|||
Loading…
Reference in a new issue