Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
Managetests
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
Managetests
Commits
ed9c1f9c
Commit
ed9c1f9c
authored
Mar 02, 2019
by
Mattia Rizzolo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
always return while failing deployment
Signed-off-by:
Mattia Rizzolo
<
mattia@debian.org
>
parent
db8db907
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
managetests/branches.py
managetests/branches.py
+2
-2
No files found.
managetests/branches.py
View file @
ed9c1f9c
...
@@ -262,7 +262,7 @@ class Branch:
...
@@ -262,7 +262,7 @@ class Branch:
log
(
"[!] Failed to execute build command: %s"
%
" "
.
join
(
cmd
))
log
(
"[!] Failed to execute build command: %s"
%
" "
.
join
(
cmd
))
log
(
"[!] Error: %s"
%
e
)
log
(
"[!] Error: %s"
%
e
)
log
(
"[!] Aborting!"
)
log
(
"[!] Aborting!"
)
self
.
fail_deployment
(
branch
)
return
self
.
fail_deployment
(
branch
)
# Check if the branch was successifully built
# Check if the branch was successifully built
popen_args
=
self
.
command_popen_args
(
self
.
config
[
"run"
])
popen_args
=
self
.
command_popen_args
(
self
.
config
[
"run"
])
...
@@ -271,7 +271,7 @@ class Branch:
...
@@ -271,7 +271,7 @@ class Branch:
self
.
update_status
(
"success"
)
self
.
update_status
(
"success"
)
else
:
else
:
log
(
"[!] Warning: build seems to have failed"
)
log
(
"[!] Warning: build seems to have failed"
)
self
.
fail_deployment
(
branch
)
return
self
.
fail_deployment
(
branch
)
self
.
manager
.
details
[
"branches"
][
self
.
name
]
=
self
.
mr
self
.
manager
.
details
[
"branches"
][
self
.
name
]
=
self
.
mr
self
.
manager
.
save_details
()
self
.
manager
.
save_details
()
...
...
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