简体   繁体   English

如何从 Github 拉取请求中删除 Jenkins 构建状态

[英]How to remove Jenkins build status from Github Pull Request

I'm trying to replace Jenkins by Github Actions as our CI/CD system.我正在尝试将 Jenkins 替换为 Github Actions 作为我们的 CI/CD 系统。 So far Github Actions is working great, but couldn't find where to disconnect/prevent Jenkins from reporting on Github, as seen on the image below.到目前为止,Github Actions 运行良好,但无法找到断开/防止 Jenkins 报告 Github 的位置,如下图所示。

在此处输入图像描述

As a result, our developers can't manage to merge the Pull Request by themselves.结果,我们的开发人员无法自己合并拉取请求。 I've already disabled the project on Jenkins, unmarked the "GitHub Pull Request Builder" on the Build Triggers section of Jenkins, and looked everywhere on Github repository and organization to find any hooks/integrations with Github (found none). I've already disabled the project on Jenkins, unmarked the "GitHub Pull Request Builder" on the Build Triggers section of Jenkins, and looked everywhere on Github repository and organization to find any hooks/integrations with Github (found none).

Does anybody knows how to remove this "default Expected" from Jenkins?有谁知道如何从 Jenkins 中删除这个“默认预期”? I cannot uninstall/remove jenkins-github plugin because a few other projects still use Jenkins as CI/CD.我无法卸载/删除 jenkins-github 插件,因为其他一些项目仍然使用 Jenkins 作为 CI/CD。

What you show in your screenshot is not Jenkins reporting, but rather GitHub expecting to receive a Jenkins job, and not receiving it.您在屏幕截图中显示的不是 Jenkins 报告,而是 GitHub 期望收到 Jenkins 作业,但没有收到它。

This is defined in the repository settings, under branches.这是在存储库设置中定义的,位于分支下。 Only people with admin rights on the repo can disable this.只有对 repo 具有管理员权限的人才能禁用此功能。

Seems like you have a matching rule, probably on the master branch.好像你有一个匹配的规则,可能在主分支上。

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM