public static interface JenkinsClient.Build
Instances are created by JenkinsClient.build(java.lang.String, java.util.Map<java.lang.String, java.lang.String>).
Allows getting information about the build while it progresses to completion.
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancels or aborts the build, depending on whether its
JenkinsClient.BuildState is
JenkinsClient.BuildState.QUEUED or JenkinsClient.BuildState.RUNNING. |
String |
getBuildName() |
int |
getBuildNumber() |
JenkinsClient.BuildState |
getBuildState()
Updates and returns the BuildState.
|
String |
getBuildUrl() |
String |
getFullConsole() |
String |
getJob() |
String |
getJobUrl() |
String |
getNextConsoleChunk() |
JenkinsClient.BuildState getBuildState()
String getJobUrl()
String getJob()
String getBuildUrl()
int getBuildNumber()
String getBuildName()
boolean cancel()
JenkinsClient.BuildState is
JenkinsClient.BuildState.QUEUED or JenkinsClient.BuildState.RUNNING.
A build in any other BuildState cannot be cancelled and false is returned.
String getNextConsoleChunk()
JenkinsClient.BuildState.isOutOfQueue() or if no more data is available.String getFullConsole()
JenkinsClient.BuildState.isOutOfQueue().Copyright © 2015–2016 AZYVA INC.. All rights reserved.