diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-01-21 09:29:35 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-01-21 11:29:58 +0100 |
commit | c55db47f1cf61ee343a7bd534904c32bf265325b (patch) | |
tree | 419c62813e3d2088adc8e41abc8a3d30ae3d8066 /script/autobuild.py | |
parent | e175d25c68a83b6caf675cdc7f82e12cb5cad1f3 (diff) | |
download | samba-c55db47f1cf61ee343a7bd534904c32bf265325b.tar.gz |
script/autobuild.py: cleanup on rebase failure
We can improve this to generate logs.tar.gz later...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Jan 21 11:29:58 CET 2012 on sn-devel-104
Diffstat (limited to 'script/autobuild.py')
-rwxr-xr-x | script/autobuild.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/script/autobuild.py b/script/autobuild.py index abca8e80c0b..d6ad082510e 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -504,6 +504,8 @@ while True: 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) |