From: Greg Brockman Date: Tue, 24 Aug 2010 04:51:54 +0000 (-0400) Subject: Reformat build failure message X-Git-Tag: 0.1.8~6 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dev.git/commitdiff_plain/04075cce54b210a67f89b6f10754a2437bdb168b Reformat build failure message --- diff --git a/build-hooks/post-build b/build-hooks/post-build index d9dfb27..b304900 100755 --- 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']) - 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):