从 Jenkins 构建的拉取请求中启用 Github 的状态检查:抱歉,我们上周找不到此存储库的任何状态检查

vin*_*Win 9 continuous-integration github jenkins jenkins-pipeline

https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks

\n\n

按照上面的链接设置启用状态检查,但我看到Sorry, we couldn\xe2\x80\x99t find any status checks in the last week for this repository在文档的步骤 7/8 中看到,因为我没有看到该下拉菜单。我怎样才能启用它?

\n\n

在此输入图像描述

\n\n

还查看了一些参考文档:\n构建 CI 服务器 github \n& 还repo status git api

\n\n

我们如何利用它们来设置 Jenkins 的状态。有没有涵盖 Jenkins 示例的文档?是否有显式的构建后步骤或类似于通过 REST API 调用设置状态?

\n\n

参考我之前的问题,该问题也有类似的关于从 Github UI 启用的问题:installed-github-autostatus-plugin-not-updating-job-stage-monitoring-status

\n