Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
3f792071
Unverified
Commit
3f792071
authored
Apr 29, 2022
by
Rhett Ying
Committed by
GitHub
Apr 29, 2022
Browse files
[BugFix] fix CI status (#3963)
parent
56614f32
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/scripts/ci_report/status.py
tests/scripts/ci_report/status.py
+1
-1
No files found.
tests/scripts/ci_report/status.py
View file @
3f792071
...
...
@@ -8,7 +8,7 @@ job_link = os.environ["BUILD_URL"]
response
=
requests
.
get
(
'{}wfapi'
.
format
(
job_link
)).
json
()
status
=
"✅ CI test succeeded"
for
v
in
response
[
'stages'
]:
if
v
[
'status'
]
not
in
[
'
SUCCESS'
,
'IN_PROGRESS
'
]:
if
v
[
'status'
]
in
[
'
FAILED'
,
'ABORTED
'
]:
status
=
"❌ CI test failed in Stage [{}]."
.
format
(
v
[
'name'
])
break
...
...
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