Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SWLab Docs BXCM for Dev
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Schedules
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
heywon.choi
SWLab Docs BXCM for Dev
Commits
09cedf38
Commit
09cedf38
authored
Jun 11, 2024
by
heywon.choi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
6d6f18ad
Pipeline
#19250
canceled with stages
in 3 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
.gitlab-ci.yml
.gitlab-ci.yml
+5
-1
No files found.
.gitlab-ci.yml
View file @
09cedf38
...
...
@@ -19,7 +19,7 @@ build:
echo "Failed to get Pipeline ID"
exit 1
fi
RESPONSE_STATUS=$(curl --header "PRIVATE-TOKEN: $SWLAB_DOCS_API" \
RESPONSE_STATUS=$(curl -
v -
-header "PRIVATE-TOKEN: $SWLAB_DOCS_API" \
"https://gitlab.com/api/v4/projects/951/pipelines/$PIPELINE_ID" )
echo "Status Response: $RESPONSE_STATUS"
STATUS=$(echo $RESPONSE_STATUS | jq -r '.status')
...
...
@@ -28,6 +28,10 @@ check_pipeline_status:
stage
:
check
script
:
-
|
if [ "$STATUS" = null ]; then
echo "Current status: $STATUS"
exit 1
fi
STATUS="running"
while [ "$STATUS" = "running" ]; do
STATUS=$(curl --header "PRIVATE-TOKEN: $SWLAB_DOCS_API" \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment