Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60612

Could not match URL git@github.company.com:/GAEBLER/imsartifacts github webhook does not work

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              lanwen Kirill Merkushev
              Reporter:
              gaebler Denis Gaebler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: