Commit 390054f1 authored by heywon.choi's avatar heywon.choi

test

parent 02b3eb15
Pipeline #19203 canceled with stages
in 1 minute and 8 seconds
......@@ -19,6 +19,11 @@ build:
echo "Failed to get Pipeline ID"
exit 1
fi
RESPONSE_STATUS=$(curl --header "PRIVATE-TOKEN: $TRIGGER_SWLAB_DOCS" \
"https://gitlab.com/api/v4/projects/951/pipelines/$PIPELINE_ID" )
echo "API Response: $RESPONSE_STATUS"
STATUS=$(echo $RESPONSE_STATUS | jq -r '.status')
echo "Current status: $STATUS"
check_pipeline_status:
stage: check
script:
......
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