Package | Description |
---|---|
com.offbytwo.jenkins | |
com.offbytwo.jenkins.model |
Modifier and Type | Method and Description |
---|---|
Build |
JenkinsServer.getBuild(QueueItem q) |
Modifier and Type | Class and Description |
---|---|
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 |
Modifier and Type | Field and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
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() |
Modifier and Type | Method and Description |
---|---|
List<Build> |
JobWithDetails.getAllBuilds()
This method will give you back all builds which exists independent of the
number.
|
List<Build> |
JobWithDetails.getAllBuilds(Range range)
{M,N}: From the M-th element (inclusive) to the N-th element
(exclusive).
{M,}: From the M-th element (inclusive) to the end.
{,N}: From the first element (inclusive) to the N-th element
(exclusive).
|
List<Build> |
JobWithDetails.getBuilds()
This method will give you back the builds of a particular job.
|
Modifier and Type | Method and Description |
---|---|
void |
MavenModuleRecord.setParent(Build parent) |
Constructor and Description |
---|
Build(Build from) |
MavenBuild(Build from) |
Copyright © 2018. All rights reserved.