Skip to content
New issue

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

How can I disable the status update for specific projects ? #111

Open
llange opened this issue Aug 6, 2021 · 1 comment
Open

How can I disable the status update for specific projects ? #111

llange opened this issue Aug 6, 2021 · 1 comment

Comments

@llange
Copy link

llange commented Aug 6, 2021

Hello,

I have some specific (multibranch) projects, using declarative pipeline Jenkinsfile, for which I'd like to skip the status update.

Rationale: I'm building some GitHub projects for which the Jenkins/Gihub user has no write rights, and I'd prefer NOT to have the error message:

  • Could not update commit status, please check if your scan credentials belong to a member of the organization or a collaborator of the repository and repo:status scope is selected,

or the next message

  • GitHub has been notified of this commit’s build result (which, by the way, is incorrect in my case because of the previous error).

Any way to override the global configuration in a declarative (or scripted) pipeline, and to disable this on a per-project basis ?

Thanks !

@floriangosse
Copy link

I'm also curious about this feature. This would allow us to be more specific on a per-project bases. In some repositories we have many stages but it's not necessary to see the status of each individual one on GitHub. Right now it just clutters the checks view on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants