-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: github-api-plugin, github-plugin
-
Environment:Linux
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.