projects
/
invirt/packages/invirt-dev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
243aac2
)
Reformat build failure message
author
Greg Brockman
<gdb@mit.edu>
Tue, 24 Aug 2010 04:51:54 +0000
(
00:51
-0400)
committer
Greg Brockman
<gdb@mit.edu>
Tue, 24 Aug 2010 05:48:50 +0000
(
01:48
-0400)
build-hooks/post-build
patch
|
blob
|
history
diff --git
a/build-hooks/post-build
b/build-hooks/post-build
index
d9dfb27
..
b304900
100755
(executable)
--- a/
build-hooks/post-build
+++ b/
build-hooks/post-build
@@
-84,11
+84,9
@@
Branch %(pocket)s has been advanced to %(short_commit)s.
(Build %(build_id)s was submitted by %(principal)s at %(inserted_at)s.)""" % values
else:
values['result'] = failure(values['result'])
(Build %(build_id)s was submitted by %(principal)s at %(inserted_at)s.)""" % values
else:
values['result'] = failure(values['result'])
- msg = """Build of %(package)s %(version)s in %(pocket)s %(result)s while %(failed_stage)s.
-
-%(traceback)s
-
-(Build %(build_id)s was submitted by %(principal)s at %(inserted_at)s.)""" % values
+ msg = """Build of %(package)s version %(version)s in %(pocket)s %(result)s while %(failed_stage)s.
+Job submitted by %(principal)s at %(inserted_at)s.
+Error: %(traceback)s""" % values
return msg
def submit_completion_msg(succeeded, values, verbose=True, success=lambda x: x, failure=lambda x: x):
return msg
def submit_completion_msg(succeeded, values, verbose=True, success=lambda x: x, failure=lambda x: x):