Class ConsolidatedRun.Entry

java.lang.Object
se.diabol.jenkins.pipeline.consolidated.ConsolidatedRun.Entry
Enclosing class:
ConsolidatedRun

public static final class ConsolidatedRun.Entry extends Object
One pipeline of the run.
  • Method Details

    • getName

      public String getName()
      The heading of the pipeline's component in the view.
    • getJobFullName

      public String getJobFullName()
      The job the pipeline starts with, which the run builds.
    • getLastJobFullName

      public String 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

      public StatusType getStatus()
      StatusType.IDLE until the batch starts, then StatusType.QUEUED and StatusType.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_BUILT when it was never started.
    • getBuildNumber

      public Integer 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

      public String getNote()
      Why the pipeline was not started or how it was lost, or null.
    • isOver

      public boolean isOver()