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
a63f41a2
Commit
a63f41a2
authored
8 months ago
by
heywon.choi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
c6f46f33
Pipeline
#19195
passed with stages
in 27 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
.gitlab-ci.yml
.gitlab-ci.yml
+3
-3
No files found.
.gitlab-ci.yml
View file @
a63f41a2
...
@@ -13,7 +13,7 @@ build:
...
@@ -13,7 +13,7 @@ build:
-F ref=master \
-F ref=master \
"https://gitlab.bwg.co.kr/api/v4/projects/951/trigger/pipeline" )
"https://gitlab.bwg.co.kr/api/v4/projects/951/trigger/pipeline" )
echo "API Response: $RESPONSE"
echo "API Response: $RESPONSE"
PIPELINE_ID=$(echo $RESPONSE | jq -r '.
[0].
id')
PIPELINE_ID=$(echo $RESPONSE | jq -r '.id')
echo "Pipeline ID: $PIPELINE_ID"
echo "Pipeline ID: $PIPELINE_ID"
if [ "$PIPELINE_ID" == "null" ] || [ -z "$PIPELINE_ID" ]; then
if [ "$PIPELINE_ID" == "null" ] || [ -z "$PIPELINE_ID" ]; then
echo "Failed to get Pipeline ID"
echo "Failed to get Pipeline ID"
...
@@ -26,8 +26,8 @@ check_pipeline_status:
...
@@ -26,8 +26,8 @@ check_pipeline_status:
-
|
-
|
STATUS="running"
STATUS="running"
while [ "$STATUS" = "running" ]; do
while [ "$STATUS" = "running" ]; do
STATUS=$(curl --header "PRIVATE-TOKEN: $TRIGGER_SWLAB_DOCS"
STATUS=$(curl --header "PRIVATE-TOKEN: $TRIGGER_SWLAB_DOCS"
\
"https://gitlab.com/api/v4/projects/951/pipelines/$PIPELINE_ID" | jq -r '.
[0].
status')
"https://gitlab.com/api/v4/projects/951/pipelines/$PIPELINE_ID" | jq -r '.status')
echo "Current status: $STATUS"
echo "Current status: $STATUS"
if [ "$STATUS" = "failed" ]; then
if [ "$STATUS" = "failed" ]; then
echo "swlab-docs project pipeline failed."
echo "swlab-docs project pipeline failed."
...
...
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