jenkinsci / jenkinsci/github-branch-source-plugin
[JENKINS-76236] Test Connection in GitHupp App credentials should also use the access strategy
- Dominant language
- Java
- Stars
- 217
- Forks
- 398
- Avg merge
- 30m
- Merged PRs (30d)
- 1
Description
Steps to Reproduce
- Configure a GitHub App credential in Jenkins
- In Advanced, set ''Specify specific repositories'' and an invalid owner
- invalid -> the org or user doesn't have the App installed
- Test Connection with blank or a valid org/user
Expected Results
The Credential check should honor the access strategy and fail
Root Cause
Test Connection is only using the provided ''GitHub organization to test against'' as owner of the check, reporting a misleading success.

---
Originally reported by
apuig, imported from: Test Connection in GitHupp App credentials should also use the access strategy
Raw content of original issue
Steps to Reproduce
- Configure a GitHub App credential in Jenkins
- In Advanced, set ''Specify specific repositories'' and an invalid owner
- invalid -> the org or user doesn't have the App installed
- Test Connection with blank or a valid org/user
Expected Results
The Credential check should honor the access strategy and fail
Root Cause
Test Connection is only using the provided ''GitHub organization to test against'' as owner of the check, reporting a misleading success.
1 attachment
- [Screenshot from 2025-10-24 12-11-40.png](https://issues.jenkins.io/secure/attachment/65016/Screenshot%20from%202025-10-24%2012-11-40.png)
> 
Contributor guide
Assessment
This issue has not been assessed yet.