From d55baf9bacd1445e273f3312c46537ea50b24aa3 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Thu, 22 Nov 2018 12:48:13 -0500 Subject: [PATCH] Remove breakage lockfile if build succeeds and if we're not running a try build --- master.cfg | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/master.cfg b/master.cfg index d61651c..6da108e 100644 --- a/master.cfg +++ b/master.cfg @@ -1074,9 +1074,10 @@ The parameters of the class are: # This last will be executed when the build succeeds. It is # needed in order to cleanup the breakage lockfile, if it # exists. -# self.addStep (steps.MasterShellCommand (command = [ 'rm', '-f', -# util.Interpolate ('/tmp/gdb-buildbot-breakage-report-*-%(prop:branch)s-%(prop:buildername)s') ], -# hideStepIf = True)) + self.addStep (steps.MasterShellCommand (command = [ 'rm', '-f', + util.Interpolate ('/tmp/gdb-buildbot-breakage-report-%(prop:branch)s-%(prop:buildername)s') ], + hideStepIf = True, + doStepIf = scheduler_is_not_racy_try_do)) # Disabling this until we figure out how to properly run + test # self.addStep (MakeTAGSGDB ())