The access token that was added when setting up a GitHub pipeline in Blue Ocean is not being used.

      When a job runs, it returns the following error:

      Connecting to https://api.github.com with no credentials, anonymous access
      
      Could not update commit status. Message: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
      

      It should be using the credentials but attempts to connect using anonymous access instead.

          [JENKINS-44776] Blue Ocean not using credentials

          Roch Devost added a comment -

          After recreating the organization it works now. I see that Blue Ocean Folder is available in credentials, whereas it wasn't before completely recreating the org.

          Before that I had tried to remove the credentials completely and recreate them by hand as well as through the Blue Ocean UI to no avail.

          Roch Devost added a comment - After recreating the organization it works now. I see that Blue Ocean Folder is available in credentials, whereas it wasn't before completely recreating the org. Before that I had tried to remove the credentials completely and recreate them by hand as well as through the Blue Ocean UI to no avail.

          James Dumay added a comment -

          rochdev yeah, adding and removing the credentials for a Pipeline created in Blue Ocean can be a bit tricky as it creates a personal credential (credential that belongs to your user) and then uses a property to assign it to the Multibranch Pipeline.

          We are going to make this easier to seamlessly manage through Blue Ocean with JENKINS-43925.

          James Dumay added a comment - rochdev yeah, adding and removing the credentials for a Pipeline created in Blue Ocean can be a bit tricky as it creates a personal credential (credential that belongs to your user) and then uses a property to assign it to the Multibranch Pipeline. We are going to make this easier to seamlessly manage through Blue Ocean with JENKINS-43925 .

            Unassigned Unassigned
            rochdev Roch Devost
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: