Skip to content

Add FlowNodeConsoleUrlProvider interface for console URLs - #528

Open
das7pad wants to merge 1 commit into
jenkinsci:masterfrom
overleaf:jpa-console-url-of
Open

Add FlowNodeConsoleUrlProvider interface for console URLs#528
das7pad wants to merge 1 commit into
jenkinsci:masterfrom
overleaf:jpa-console-url-of

Conversation

@das7pad

@das7pad das7pad commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

This interface provides a method to retrieve console URLs for specific FlowNodes in Jenkins, allowing for richer visualizations in the Pipeline Graph View.

Testing done

Implement public String getConsoleUrl(Run<?, ?> run, FlowNode node) in PipelineConsoleViewUrlProvider and adopt that.

See logs URLs on GitHub checks point at the step.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

This interface provides a method to retrieve console URLs for specific FlowNodes in Jenkins, allowing for richer visualizations in the Pipeline Graph View.
@das7pad
das7pad requested a review from a team as a code owner August 24, 2026 13:26

@dwnusbaum dwnusbaum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@das7pad see jenkinsci/pipeline-graph-view-plugin#1266 (comment), ConsoleUrlProvider is for internal Jenkins-to-Jenkins links, the case you care about is an external link, so it should be a new API method in https://github.com/jenkinsci/display-url-api-plugin instead.

The general idea makes sense though and I think it will be helpful

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