Skip to content

Commit

Permalink
script/autobuild.py: cleanup on rebase failure
Browse files Browse the repository at this point in the history
We can improve this to generate logs.tar.gz later...

metze

Autobuild-User: Stefan Metzmacher <[email protected]>
Autobuild-Date: Sat Jan 21 11:29:58 CET 2012 on sn-devel-104
  • Loading branch information
metze-samba committed Jan 21, 2012
1 parent e175d25 commit c55db47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/autobuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,8 @@ def email_success():
elif options.rebase_master:
rebase_tree(samba_master)
except:
cleanup_list.append(gitroot + "/autobuild.pid")
cleanup()
email_failure(-1, 'rebase', 'rebase', 'rebase', 'rebase on master failed')
sys.exit(1)
blist = buildlist(tasks, args)
Expand Down

0 comments on commit c55db47

Please sign in to comment.