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

Github plugin configuration expects the password in the token field to connect to Github Enterprises instances correctly

    XMLWordPrintable

Details

    Description

      When validating the connection to a github enterprise instance the call will always fail unless the github user password is placed in the token field. This is because the Credential.doValidate when invoking GitHub.connectToEnterprise(apiUrl,username,apiToken); the apiToken is being sent. Unfortunately the Github.connectToEnterprise method is expecting a password instead . You can work around the problem by placing your password in the token field in cleartext but this is not optimal.

      Attachments

        Activity

          This should be fixed after credential plugin support

          lanwen Kirill Merkushev added a comment - This should be fixed after credential plugin support

          People

            Unassigned Unassigned
            mklunder Mark Klunder
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: