Esempio n. 1
0
 def finished(self, results):
     from buildbot.status.results import SUCCESS, RESUME, DEPENDENCY_FAILURE, SKIPPED
     shouldResumeBuild = results == SUCCESS or results == SKIPPED or results == DEPENDENCY_FAILURE
     if shouldResumeBuild:
         text = ["Build Will Be Resumed"]
         self.step_status.stepFinished(results)
         self.build.buildFinished(text, RESUME)
     LoggingBuildStep.finished(self, results)
Esempio n. 2
0
    def finished(self, results):
        if shouldResumeBuild(self.resumeBuild, results, self.build.steps):
            text = ["Build Will Be Resumed"]
            # saved the a resume build status
            # in this case skip the finished time ?
            self.step_status.stepFinished(SUCCESS)
            self.build.build_status.resumeSlavepool = self.resumeSlavepool
            self.build.buildFinished(text, RESUME)

        LoggingBuildStep.finished(self, results)
Esempio n. 3
0
 def finished(self, results):
     if results == SUCCESS:
         self.step_status.setText([
             "Downloaded artifacts from %s partitions" % self.partitionCount
         ])
     LoggingBuildStep.finished(self, results)