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

Skip status checks on Pipeline Libraries

Open jokogr opened this issue 4 years ago • 3 comments

Hello,

Thanks for this really useful plugin! It appears it is not currently possible to skip status checks on Pipeline Libraries, is anyone else having a similar issue?

On a multibranch pipeline job or a folder try to add pipeline library with a GitHub repository. One cannot add "Status Checks Properties" in its Behavior section. Unfortunately, the library repository's commits are getting hit by every check.

Jenkins version: 2.263.2 GitHub Checks plugin version: 1.0.9

jokogr avatar Jan 22 '21 14:01 jokogr

yes, the pipeline library is currently a problem.

and maybe we should directly suppress the checks on the pipeline library instead of adding a behavior? 🧐

XiongKezhi avatar Jan 24 '21 08:01 XiongKezhi

Any update on this? We're using two shared libraries per build and the in progress publishing is triggered three times accordingly.

alexbde avatar Aug 17 '21 13:08 alexbde

I'm also hitting this issue and the log spam make the logs unusable unfortunately once the plugin got installed. I've had some luck by changing the SCM protocol from Git to GitHub, which does have the option to skip status checks. I think a global option to set the default on Jenkins would help a lot. Then we could set the default to skip checks on every job we have that uses the Git plugin to skip and then turn it on for the one job we have that requires the plugin that does PR checks.

chri7325 avatar Jun 10 '23 01:06 chri7325