Jenkins插件之一作为依赖项拖入Checks API ,现在每个构建的底部都有这条烦人的消息:
[Checks API] No suitable checks publisher found.
Run Code Online (Sandbox Code Playgroud)
这本身不会导致任何构建失败。这只是烦人的噪音,我不想要它。
现在每次构建由于任何其他原因失败时,我的开发人员都会告诉我
看来我们在 foobar 机器上构建时遇到了问题,再次出现“没有找到合适的检查发布者”错误。
这是不正确的,实际错误正好高于或低于该警告。
这是浪费时间,我再也不想看到那个警告了。我该如何摆脱它?
我无法卸载Checks API,它呈灰色。JUnit和警告下一代需要它作为依赖项。
小智 17
您可以通过以下方式禁用检查功能:
\njunit testResults: \'results.xml\', skipPublishingChecks: true\nRun Code Online (Sandbox Code Playgroud)\n查看 JUnit 插件的 README.md 了解更多详细信息:
\nTest result checks (for GitHub projects)\n\xe2\x9a\xa0\xef\xb8\x8f This feature requires:\n\nthe installation of an additional plugin: GitHub Checks Plugin\nthe configuration of GitHub App credentails, see this guide for more details.\nIf not disabled in the job configuration, this plugin will publish test results to GitHub through GitHub checks API.\n\nIn the Details view of each check (example), test results will be displayed.\n\nchecks\n\nIn order to disable the checks feature, set the property skipPublishingChecks to true:\nRun Code Online (Sandbox Code Playgroud)\n参考:
\n| 归档时间: |
|
| 查看次数: |
18853 次 |
| 最近记录: |