jenkinsci / jenkinsci/github-autostatus-plugin

How can I disable the status update for specific projects ?

Open
#111 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
58
Forks
38
PR merge metrics
No merged PRs in 30d

Description

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 !

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.