Skip to content

Conversation

mawinter69
Copy link
Contributor

When a credential is used by an agent the main.jelly used node.url. But the Node class has no getUrl method so a link to Jenkins root was created.
The jelly now properly renders the url to the agent

Before:
image

After:
image

Testing done

Verified that a credential used by a node leads to the correct link

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

A node doesn't have a `getUrl` method. So the jelly was pointing to
Jenkins root.
@mawinter69 mawinter69 requested a review from a team as a code owner August 20, 2025 16:08
@jglick jglick added the bug label Sep 10, 2025
@jglick jglick merged commit 5226171 into jenkinsci:master Sep 10, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants