[JENKINS-60612] Could not match URL [email protected]:/GAEBLER/imsartifacts github webhook does not work
Hi,
while with command line the following url is supported:
git@github.company.com:/GAEBLER/imsartifacts
It does not work with the current Jenkins github plugin, I checked the matchers in https://github.com/jenkinsci/github-plugin/blob/master/src/main/java/com/cloudbees/jenkins/GitHubRepositoryName.java and found out that they do not match and produce the following error in the jenkins log:
Could not match URL git@github.company.com:/GAEBLER/imsartifacts
However, I found a workaround, which is to remove the slash after the colon. But it was really hard to find that issue and while using google or Jira search, I did not find any matches, but the URL:
git@github.company.com:GAEBLER/imsartifacts
works when configured in Jenkins and the webhook triggers from github too. They do perfectly work now.
Thanks, Denis.
Originally reported by gaebler, imported from: Could not match URL [email protected]:/GAEBLER/imsartifacts github webhook does not work
- assignee:
lanwen
- status: Open
- priority: Minor
- component(s): github-plugin
- resolution: Unresolved
- votes: 0
- watchers: 1
- imported: 2025-12-08
Raw content of original issue
Hi,
while with command line the following url is supported:
[email protected]:/GAEBLER/imsartifacts
It does not work with the current Jenkins github plugin, I checked the matchers in https://github.com/jenkinsci/github-plugin/blob/master/src/main/java/com/cloudbees/jenkins/GitHubRepositoryName.java and found out that they do not match and produce the following error in the jenkins log:
Could not match URL [email protected]:/GAEBLER/imsartifacts
However, I found a workaround, which is to remove the slash after the colon. But it was really hard to find that issue and while using google or Jira search, I did not find any matches, but the URL:
[email protected]:GAEBLER/imsartifacts
works when configured in Jenkins and the webhook triggers from github too. They do perfectly work now.
Thanks, Denis.