Commit 8767b19d authored by heywon.choi's avatar heywon.choi

test

parent 503f4dd5
Pipeline #19186 failed with stages
in 9 seconds
......@@ -18,11 +18,11 @@ check_pipeline_status:
script:
- >
STATUS="running"
while [ "$STATUS" == "running" ]; do
while [ "$STATUS" = "running" ]; do
STATUS=$(curl --header "PRIVATE-TOKEN: $TRIGGER_SWLAB_DOCS"
"https://gitlab.com/api/v4/projects/951/pipelines/$PIPELINE_ID" | jq -r '.status')
echo "Current status: $STATUS"
if [ "$STATUS" == "failed" ]; then
if [ "$STATUS" = "failed" ]; then
echo "swlab-docs project pipeline failed."
exit 1
fi
......
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