github-checks-plugin
github-checks-plugin copied to clipboard
Pick up organization name in GitHub multi-branch job
What feature do you want to see added?
After https://github.com/jenkinsci/github-branch-source-plugin/pull/527 , Jenkins can use GitHub app credential without organization settings, automatically picking up organization name inside repo. But this is currently not supported in GitHub checks plugin.
I tried to implement it in https://github.com/jenkinsci/github-checks-plugin/pull/324 but failed, if anyone has similar need , you may pick up the pr and continue the work.
Upstream changes
No response
Hi. I'm facing the same issue as described here. @jglick can you provide some guidance as to how this plugin should be updated to take advantage of https://github.com/jenkinsci/github-branch-source-plugin/pull/527 and publish custom status checks without an owner field hardcoded in the Jenkins GitHub App credential?
You would need to call the API introduced in https://github.com/jenkinsci/credentials-plugin/pull/293, which means somehow identifying the build for which checks are being published.