Class ConsolidatedRun.Entry
java.lang.Object
se.diabol.jenkins.pipeline.consolidated.ConsolidatedRun.Entry
- Enclosing class:
ConsolidatedRun
One pipeline of the run.
-
Method Summary
Modifier and TypeMethodDescriptionintgetBatch()The 1-based batch the pipeline belongs to.The build of the first job the run started, once it has left the queue.longMilliseconds from the start of the first build until nothing was running or queued any more.longHow long the pipeline took in the run before this one, in milliseconds, or -1.The job the pipeline starts with, which the run builds.The job the pipeline ends with as its component is configured, or null for the whole chain.getName()The heading of the pipeline's component in the view.getNote()Why the pipeline was not started or how it was lost, or null.longgetSince()Epoch milliseconds since when the pipeline is queued, or at which its first build started; 0 before.StatusType.IDLEuntil the batch starts, thenStatusType.QUEUEDandStatusType.RUNNING, which holds until nothing of the pipeline is running or queued any more, and at last the worst outcome among its tasks;StatusType.NOT_BUILTwhen it was never started.booleanisOver()
-
Method Details
-
getName
The heading of the pipeline's component in the view. -
getJobFullName
The job the pipeline starts with, which the run builds. -
getLastJobFullName
The job the pipeline ends with as its component is configured, or null for the whole chain. -
getBatch
public int getBatch()The 1-based batch the pipeline belongs to. -
getEstimate
public long getEstimate()How long the pipeline took in the run before this one, in milliseconds, or -1. -
getStatus
StatusType.IDLEuntil the batch starts, thenStatusType.QUEUEDandStatusType.RUNNING, which holds until nothing of the pipeline is running or queued any more, and at last the worst outcome among its tasks;StatusType.NOT_BUILTwhen it was never started. -
getBuildNumber
The build of the first job the run started, once it has left the queue. -
getSince
public long getSince()Epoch milliseconds since when the pipeline is queued, or at which its first build started; 0 before. -
getDuration
public long getDuration()Milliseconds from the start of the first build until nothing was running or queued any more. -
getNote
Why the pipeline was not started or how it was lost, or null. -
isOver
public boolean isOver()
-