summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-01-21 09:29:35 +0100
committerStefan Metzmacher <metze@samba.org>2012-01-21 11:29:58 +0100
commitc55db47f1cf61ee343a7bd534904c32bf265325b (patch)
tree419c62813e3d2088adc8e41abc8a3d30ae3d8066 /script
parente175d25c68a83b6caf675cdc7f82e12cb5cad1f3 (diff)
downloadsamba-c55db47f1cf61ee343a7bd534904c32bf265325b.tar.gz
samba-c55db47f1cf61ee343a7bd534904c32bf265325b.tar.bz2
samba-c55db47f1cf61ee343a7bd534904c32bf265325b.zip
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')
-rwxr-xr-xscript/autobuild.py2
1 files changed, 2 insertions, 0 deletions
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)