Package io.jenkins.blueocean.rest.model
Interface BlueItemRun
- All Known Implementing Classes:
BlueRun
public interface BlueItemRun
Common interface for job run details
-
Method Details
-
getOrganization
- Returns:
- name of the organization
-
getId
- Returns:
BlueRun
id - unique within a pipeline
-
getPipeline
- Returns:
- Pipeline name - unique within an organization
-
getName
-
getDescription
-
getChangeSet
- Returns:
- Gives change set of a run
-
getStartTimeString
- Returns:
- run start time
-
getEnQueueTimeString
Enque time -
getEndTimeString
Run end time -
getDurationInMillis
- Returns:
- Build duration in milli seconds
-
getEstimatedDurtionInMillis
- Returns:
- Estimated Build duration in milli seconds
-
getStateObj
- Returns:
- The state of the run
-
getResult
- Returns:
- The result state of the job (e.g unstable)
-
getRunSummary
- Returns:
- Build summary
-
getType
- Returns:
- Type of Run. Type name to be Jenkins Run.getClass().getSimpleName()
-
getArtifactsZipFile
- Returns:
- Uri of artifacts zip file.
-
getArtifacts
- Returns:
- Run artifacts
-
getActions
- Returns:
- Gives Actions associated with this Run, if requested via tree
-
getTests
- Returns:
- Gives tests in this run
-
getTestSummary
- Returns:
- Gives the test summary for this run
-
getLog
- Returns:
- Instance of stapler aware instance that can do the following:
- Must be able to process start query parameter. 'start' parameter is the byte offset in the actual log file
- Must produce following HTTP headers in the response
- X-Text-Size It is the byte offset of the raw log file client should use in the next request as value of start query parameter.
- X-More-Data If its true, then client should repeat the request after some delay. In the repeated request it should use X-TEXT-SIZE header value with *start* query parameter.
-
getCauses
- Returns:
- cause of the run being created
-
getCauseOfBlockage
- Returns:
- cause of what is blocking this run
-
isReplayable
@Exported(name="replayable") boolean isReplayable()- Returns:
- if the run will allow a replay
-