From c55db47f1cf61ee343a7bd534904c32bf265325b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 21 Jan 2012 09:29:35 +0100 Subject: script/autobuild.py: cleanup on rebase failure We can improve this to generate logs.tar.gz later... metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Sat Jan 21 11:29:58 CET 2012 on sn-devel-104 --- script/autobuild.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'script') diff --git a/script/autobuild.py b/script/autobuild.py index abca8e80c0..d6ad082510 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) -- cgit