Skip to content

Console plugin: Build history and stage progress visualization #47

@vtz

Description

@vtz

Context

The Build API already provides a build history endpoint (BuildHistoryResponse) and stage-level status on each BuildJob. Surface this in the console for at-a-glance progress and historical trends.

Depends on: #44 (scaffold), #45 (detail page)

Scope

Stage Progress (on BuildJob detail page)

  • Visual step indicator showing each stage (from spec.stages / status.stages)
  • Stage states: pending (gray), running (blue spinner), succeeded (green check), failed (red X)
  • Expandable stage rows showing the command and any error message
  • Use PatternFly ProgressStepper or custom step component

Build History Tab

  • "History" tab on BuildJob detail page
  • Table: run number, phase, started/completed timestamps, duration, commit SHA
  • Sourced from Build API /builds/{name}/history endpoint
  • Link each history entry to its PipelineRun in the Pipelines UI

Data Sources

Stage status from the K8s resource:

{
  "stages": [
    { "name": "fetch", "state": "Succeeded" },
    { "name": "build", "state": "Running" },
    { "name": "package", "state": "Pending" }
  ]
}

History from Build API:

{
  "buildJob": "body-ecu-nucleo",
  "entries": [
    { "run": 3, "phase": "Succeeded", "startedAt": "...", "duration": "2m34s", "commitSHA": "abc123" }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    console-pluginOpenShift Console Dynamic PluginenhancementNew feature or requestuxUser experience and UI

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions