| 程序包 | 说明 |
|---|---|
| com.offbytwo.jenkins | |
| com.offbytwo.jenkins.model |
| 限定符和类型 | 方法和说明 |
|---|---|
Build |
JenkinsServer.getBuild(QueueItem q) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BuildWithDetails
This class represents build information with details about what has been done
like duration start and of course the build result.
|
class |
MavenBuild |
| 限定符和类型 | 字段和说明 |
|---|---|
static Build |
Build.BUILD_HAS_BEEN_CANCELLED
This will be returned by the API in cases where a build has been
cancelled.
|
static Build |
Build.BUILD_HAS_NEVER_RUN
This will be returned by the API in cases where no build has ever been
executed like
JobWithDetails.getLastBuild() etc. |
| 限定符和类型 | 方法和说明 |
|---|---|
Build |
JobWithDetails.getBuildByNumber(int buildNumber)
Get a build by the given buildNumber.
|
Build |
JobWithDetails.getFirstBuild() |
Build |
JobWithDetails.getLastBuild() |
Build |
JobWithDetails.getLastCompletedBuild() |
Build |
JobWithDetails.getLastFailedBuild() |
Build |
JobWithDetails.getLastStableBuild() |
Build |
JobWithDetails.getLastSuccessfulBuild() |
Build |
JobWithDetails.getLastUnstableBuild() |
Build |
JobWithDetails.getLastUnsuccessfulBuild() |
Build |
MavenModuleRecord.getParent() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.List<Build> |
JobWithDetails.getAllBuilds()
This method will give you back all builds which exists independent of the
number.
|
java.util.List<Build> |
JobWithDetails.getAllBuilds(Range range)
{M,N}: From the M-th element (inclusive) to the N-th element
(exclusive).
|
java.util.List<Build> |
JobWithDetails.getBuilds()
This method will give you back the builds of a particular job.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
MavenModuleRecord.setParent(Build parent) |
| 构造器和说明 |
|---|
Build(Build from) |
MavenBuild(Build from) |