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

Cannot see private GitHub repos after providing valid API token (alpha-4)


    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Labels:
    • Environment:
    • Similar Issues:


      Given a GitHub API token known to work elsewhere, I am unable to access private repositories while configuring a multibranch pipeline project using GitHub as a source.

      Steps to recreate:
      1. Create a new Multibranch Pipeline project

      2. Select GitHub as your API endpoint.

      3. Supply a credential, and an owner, which has been used successfully elsewhere to access private repos. Shown below is this owner and credential being used with the Alpha plugins. In this case the `quality-assurance` repo is not available. I believe this is because it is a private repo.

      4. As a control, try with another Jenkins instance, one which is not running the alpha code. Same GitHub ID for the owner, same GitHub API token in use. The list now shows all of the repos, both public and private, including `quality-assurance`:


          Issue Links


            kshultz Karl Shultz created issue -
            kshultz Karl Shultz made changes -
            Field Original Value New Value
            Epic Link JENKINS-43426 [ 180671 ]
            jglick Jesse Glick made changes -
            Assignee Stephen Connolly [ stephenc ]
            stephenconnolly Stephen Connolly made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            kshultz Karl Shultz made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            jamesdumay James Dumay made changes -
            Remote Link This issue links to "CloudBees Internal OSS-2370 (Web Link)" [ 18333 ]


              • Assignee:
                stephenc Stephen Connolly
                kshultz Karl Shultz
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created: