diff options
Diffstat (limited to 'script')
-rwxr-xr-x | script/autobuild.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/script/autobuild.py b/script/autobuild.py index 2d3af2a7db2..8d1060e9115 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -720,6 +720,24 @@ blist.tarlogs("logs.tar.gz") if options.email is not None: email_failure(status, failed_task, failed_stage, failed_tag, errstr, elapsed_time, log_base=options.log_base) +else: + elapsed_minutes = elapsed_time / 60.0 + print ''' + +#################################################################### + +AUTOBUILD FAILURE + +Your autobuild on %s failed after %.1f minutes +when trying to test %s with the following error: + + %s + +the autobuild has been abandoned. Please fix the error and resubmit. + +#################################################################### + +''' % (platform.node(), elapsed_minutes, failed_task, errstr) cleanup() print(errstr) |