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
39f2df1b
Commit
39f2df1b
authored
8 months ago
by
heywon.choi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
a63f41a2
Pipeline
#19197
failed with stages
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
.gitlab-ci.yml
.gitlab-ci.yml
+5
-2
No files found.
.gitlab-ci.yml
View file @
39f2df1b
...
...
@@ -19,7 +19,6 @@ build:
echo "Failed to get Pipeline ID"
exit 1
fi
echo "Pipeline ID: $PIPELINE_ID"
check_pipeline_status
:
stage
:
check
script
:
...
...
@@ -29,7 +28,11 @@ check_pipeline_status:
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" = "passed" ]; then
echo "swlab-docs project pipeline passed."
break
fi
elif [ "$STATUS" = "failed" ]; then
echo "swlab-docs project pipeline failed."
exit 1
fi
...
...
This diff is collapsed.
Click to expand it.
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