Skip to content

When viewing a pipeline, print the corresponding job ids#108

Open
vvsagar wants to merge 1 commit into
git-pkgs:mainfrom
vvsagar:feature/show-job-ids-in-ci-view
Open

When viewing a pipeline, print the corresponding job ids#108
vvsagar wants to merge 1 commit into
git-pkgs:mainfrom
vvsagar:feature/show-job-ids-in-ci-view

Conversation

@vvsagar
Copy link
Copy Markdown
Contributor

@vvsagar vvsagar commented May 27, 2026

I was testing on a gitlab project and I wanted to see the log of a CI.

forge ci list first shows me a list of latest pipelines with their ids. forge ci log does not work directly on them, instead I need to forge ci view on the pipeline id, which makes sense.

But now I made forge ci view print the corresponding job ids, which I can then pass on to forge ci log and it works.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the human-readable forge ci view <run-id> output so users can see job IDs and pass them directly to forge ci log <job-id>.

Changes:

  • Adds each CI job’s numeric ID to the Jobs section printed by ci view.
  • Keeps existing status selection behavior using Conclusion when available, otherwise Status.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants