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)
def finished(self, result): self.getLog("warnings").finish() self.getLog("errors").finish() ShellCommand.finished(self, result)
def finished(self, results): if results == SUCCESS: self.addURL(self.artifact, self.artifactURL) ShellCommand.finished(self, results)
def finished(self, _): ShellCommand.finished(self, SUCCESS)
def finished(self, results): if (results == builder.FAILURE or results == builder.EXCEPTION): self.build_status_oracle.SetLastBuildAsFailed() ShellCommand.finished(self, results)