Skip to content

Use the correct SCM in commit URLs - #732

Merged
uhafner merged 1 commit into
jenkinsci:mainfrom
akash-manna-sky:JENKINS-68675
Aug 4, 2026
Merged

Use the correct SCM in commit URLs#732
uhafner merged 1 commit into
jenkinsci:mainfrom
akash-manna-sky:JENKINS-68675

Conversation

@akash-manna-sky

Copy link
Copy Markdown
Contributor

Use of Global Libraries breaks commit URLs

Fixes #682

Testing done

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

@uhafner uhafner added the bug Bugs or performance problems label Aug 4, 2026

@uhafner uhafner 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.

Thanks, that should fix the problem!

@uhafner
uhafner marked this pull request as ready for review August 4, 2026 08:53
@uhafner

uhafner commented Aug 4, 2026

Copy link
Copy Markdown
Member

@akash-manna-sky Can you have a look at the comment of Jesse in #682 to see if Jenkins attaches a https://javadoc.jenkins.io/plugin/scm-api/jenkins/scm/api/SCMRevisionAction.html to each build? maybe we can use this information to automatically assign the correct SCM? This would make the SCM parameter obsolete. But I am not sure if there is such an information available...

@uhafner uhafner changed the title Use of Global Libraries breaks commit URLs Use the correct SCM in commit URLs Aug 4, 2026
@uhafner
uhafner merged commit d92333b into jenkinsci:main Aug 4, 2026
17 of 19 checks passed
@akash-manna-sky
akash-manna-sky deleted the JENKINS-68675 branch August 4, 2026 15:12
@akash-manna-sky

Copy link
Copy Markdown
Contributor Author

@akash-manna-sky Can you have a look at the comment of Jesse in #682 to see if Jenkins attaches a https://javadoc.jenkins.io/plugin/scm-api/jenkins/scm/api/SCMRevisionAction.html to each build? maybe we can use this information to automatically assign the correct SCM? This would make the SCM parameter obsolete. But I am not sure if there is such an information available...

I will look into this. Thanks!

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

Labels

bug Bugs or performance problems

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[JENKINS-68675] Use of Global Libraries breaks commit URLs

2 participants