Interface BlueRunnableItem

All Known Implementing Classes:
BlueMultiBranchPipeline, BlueOrganizationFolder, BluePipeline, BluePipelineFolder

public interface BlueRunnableItem
Common interface to be implemented by pipeline items that are runnable and hence have expected run-times, a run history, etc.
  • Method Details

    • getWeatherScore

      @Exported(name="weatherScore") Integer getWeatherScore()
      Returns:
      weather health score percentile
    • getLatestRun

      @Exported(name="latestRun", inline=true) BlueRun getLatestRun()
      Returns:
      The Latest Run for the branch
    • getEstimatedDurationInMillis

      @Exported(name="estimatedDurationInMillis") Long getEstimatedDurationInMillis()
      Returns:
      Estimated duration based on last pipeline runs. -1 is returned if there is no estimate available.
    • getRuns

      Returns:
      Gives Runs in this pipeline
    • getQueue

      Returns:
      Gives BlueQueueContainer
    • getParameters

      @Exported(name="parameters", inline=true) List<Object> getParameters()
      List of build parameters
    • getTrends

      Returns:
      trend data related to this pipeline