-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
pipeline-githubnotify-step-plugin 1.0.0
jenkins 2.36
The inference for the github credentials uses getCredentials which return checkout credentials.
Checkout credentials can be SSH credentials, unsuitable for API calls such as commit status updates.
When checkout credentials are SSH credentials, inference fails with: java.lang.IllegalArgumentException: The credentialsId does not seem to exist, please check it
Instead, the plugin should probably use getScanCredentialsId to obtain its credentials.
- links to