Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nightlies
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
nightlies
Commits
78eb1453
There was a problem fetching the pipeline summary.
Commit
78eb1453
authored
7 years ago
by
Amir MOHAMMADI
Browse files
Options
Downloads
Patches
Plain Diff
improve messaging
parent
81813a69
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-0
3 additions, 0 deletions
.gitlab-ci.yml
build.py
+3
-2
3 additions, 2 deletions
build.py
with
6 additions
and
2 deletions
.gitlab-ci.yml
+
3
−
0
View file @
78eb1453
...
@@ -2,6 +2,9 @@ stages:
...
@@ -2,6 +2,9 @@ stages:
-
core
-
core
-
extra
-
extra
variables
:
PYTHONUNBUFFERED
:
1
core_build
:
core_build
:
stage
:
core
stage
:
core
script
:
script
:
...
...
This diff is collapsed.
Click to expand it.
build.py
+
3
−
2
View file @
78eb1453
...
@@ -22,8 +22,9 @@ def main(pkg_list_file, fail=True):
...
@@ -22,8 +22,9 @@ def main(pkg_list_file, fail=True):
time
.
sleep
(
10
)
time
.
sleep
(
10
)
pipeline
=
project
.
pipelines
.
get
(
pipeline
.
id
)
pipeline
=
project
.
pipelines
.
get
(
pipeline
.
id
)
if
pipeline
.
status
!=
'
success
'
:
if
pipeline
.
status
!=
'
success
'
:
message
=
"
Pipeline {} for {} failed with status {}
"
.
format
(
message
=
"
Pipeline https://gitlab.idiap.ch/bob/{pkg}/
"
pipeline
.
id
,
pkg
,
pipeline
.
status
)
"
pipelines/{id} failed with status {status}
"
.
format
(
id
=
pipeline
.
id
,
pkg
=
pkg
,
status
=
pipeline
.
status
)
if
fail
:
if
fail
:
raise
RuntimeError
(
message
)
raise
RuntimeError
(
message
)
else
:
else
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment