github-checks-plugin icon indicating copy to clipboard operation
github-checks-plugin copied to clipboard

Pick up organization name in GitHub multi-branch job

Open LeoQuote opened this issue 2 years ago • 2 comments

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

LeoQuote avatar May 22 '23 16:05 LeoQuote

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?

jdumas avatar Dec 19 '23 10:12 jdumas

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.

jglick avatar Dec 19 '23 17:12 jglick