Skip to content

Commit

Permalink
Initial LatentWorkerCannotToSubstantiate branch
Browse files Browse the repository at this point in the history
  • Loading branch information
programmeroftheeve committed Sep 5, 2017
1 parent 28964a6 commit 379d66d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions master/buildbot/process/build.py
Expand Up @@ -327,6 +327,8 @@ def startBuild(self, build_status, workerforbuilder):
yield self.buildPreparationFailure(ready_or_failure, "worker_prepare")
if self.stopped:
self.buildFinished(["worker", "cancelled"], self.results)
elif ready_or_failure.check([interfaces.LatentWorkerCannotToSubstantiate]):
self.buildFinished(["worker", "cannot", "substanciate"], EXCEPTION)
else:
self.buildFinished(["worker", "not", "available"], RETRY)
return
Expand Down

0 comments on commit 379d66d

Please sign in to comment.