Esempio n. 1
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)

        ShellCommand.finished(self, results)
Esempio n. 2
0
 def finished(self, result):
     self.getLog("warnings").finish()
     self.getLog("errors").finish()
     ShellCommand.finished(self, result)
Esempio n. 3
0
 def finished(self, result):
     self.getLog("warnings").finish()
     self.getLog("errors").finish()
     ShellCommand.finished(self, result)
Esempio n. 4
0
 def finished(self, results):
     if results == SUCCESS:
         self.addURL(self.artifact, self.artifactURL)
     ShellCommand.finished(self, results)
Esempio n. 5
0
 def finished(self, _):
     ShellCommand.finished(self, SUCCESS)
Esempio n. 6
0
 def finished(self, _):
     ShellCommand.finished(self, SUCCESS)
Esempio n. 7
0
 def finished(self, results):
   if (results == builder.FAILURE or results == builder.EXCEPTION):
     self.build_status_oracle.SetLastBuildAsFailed()
   ShellCommand.finished(self, results)