Remove breakage lockfile if build succeeds and if we're not running a try build

This commit is contained in:
Sergio Durigan Junior 2018-11-22 12:48:13 -05:00
parent ccf7a5411e
commit d55baf9bac

View file

@ -1074,9 +1074,10 @@ The parameters of the class are:
# This last will be executed when the build succeeds. It is # This last will be executed when the build succeeds. It is
# needed in order to cleanup the breakage lockfile, if it # needed in order to cleanup the breakage lockfile, if it
# exists. # exists.
# self.addStep (steps.MasterShellCommand (command = [ 'rm', '-f', self.addStep (steps.MasterShellCommand (command = [ 'rm', '-f',
# util.Interpolate ('/tmp/gdb-buildbot-breakage-report-*-%(prop:branch)s-%(prop:buildername)s') ], util.Interpolate ('/tmp/gdb-buildbot-breakage-report-%(prop:branch)s-%(prop:buildername)s') ],
# hideStepIf = True)) hideStepIf = True,
doStepIf = scheduler_is_not_racy_try_do))
# Disabling this until we figure out how to properly run + test # Disabling this until we figure out how to properly run + test
# self.addStep (MakeTAGSGDB ()) # self.addStep (MakeTAGSGDB ())