We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jenkins: 2.401.3 OS: Linux - 5.4.0-1093-aws Java: 11.0.19 - Eclipse Adoptium (OpenJDK 64-Bit Server VM) github-checks:545.v79a_a_68b_ca_682
Ubuntu 18 for the agents and the controller
[GitHub Checks] Failed Publishing GitHub checks: java.io.IOException: Unsupported credential type: com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey
Which means it is ignoring the credential override after the first failure.
All jobs should be using the override for the credential id, instead of the credentials used to pull the code.
Presumably using the wrong credentials.
I suspect the problem started with https://github.com/jenkinsci/github-checks-plugin/pull/341/files Specifically, I think findGitHubAppCredentials is returning the first credentials (SSH Key type) instead of the app credentials configured:
findGitHubAppCredentials
github-checks-plugin/src/main/java/io/jenkins/plugins/checks/github/SCMFacade.java
Line 126 in 8d17133
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Ubuntu 18 for the agents and the controller
Reproduction steps
Which means it is ignoring the credential override after the first failure.
Expected Results
All jobs should be using the override for the credential id, instead of the credentials used to pull the code.
Actual Results
Presumably using the wrong credentials.
Anything else?
I suspect the problem started with https://github.com/jenkinsci/github-checks-plugin/pull/341/files
Specifically, I think
findGitHubAppCredentials
is returning the first credentials (SSH Key type) instead of the app credentials configured:github-checks-plugin/src/main/java/io/jenkins/plugins/checks/github/SCMFacade.java
Line 126 in 8d17133
The text was updated successfully, but these errors were encountered: