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

[GithubBranchSourcePlugin] wrong scm url when using Github enterprise specific API

XMLWordPrintable

      Hello,

       

      I have created an organization folder job on Jenkins with specifying the Github API to our Github Enterprise API which has this format https://<redirect_uri>/<mandatory_path>/api/v3.

      The scan of the jenkinsfiles is correct and in the logs I see it's checking the repositories with the right url: for example : https://<redirect_uri>/<mandatory_path>/<repo_owner>/<repository>

      but once I execute the Jenkinsfile that is on that repository and that contains the step 'checkout scm', I have url 404 because it's poiting to https://<redirect_uri>/<repo_owner>/<repository> instead of the url as it is in the scan.

            Unassigned Unassigned
            sirine1994 Sirine Beji
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: