gpt4 book ai didi

jenkins - 如何摆脱嘈杂的警告 "No suitable checks publisher found"

转载 作者:行者123 更新时间:2023-12-04 11:29:56 28 4
gpt4 key购买 nike

其中之一 Jenkins 插件拖入检查 API 作为依赖项,现在每个构建的底部都有这个烦人的消息:

[Checks API] No suitable checks publisher found.
这本身不会使任何构建失败。这只是烦人的噪音,我不想要它。
现在每次构建因任何其他原因失败时,我的开发人员都会告诉我

It seems that we have problems with build on foobar machine with 'No suitable checks publisher found' error again.


这是不正确的,实际错误正好高于或低于该警告。
这是浪费时间,我再也不想看到那个警告了。我该如何摆脱它?
我无法卸载 检查 API ,它变灰了。 JUnit 下一代警告 需要它作为依赖。
  • Jenkins :2.277.2
  • 检查 API:1.7.0
  • 最佳答案

    您可以通过以下方式禁用检查功能:

    junit testResults: 'results.xml', skipPublishingChecks: true
    查看 JUnit 插件的 README.md 以获取更多详细信息:
    Test result checks (for GitHub projects)
    ⚠️ This feature requires:

    the installation of an additional plugin: GitHub Checks Plugin
    the configuration of GitHub App credentails, see this guide for more details.
    If not disabled in the job configuration, this plugin will publish test results to GitHub through GitHub checks API.

    In the Details view of each check (example), test results will be displayed.

    checks

    In order to disable the checks feature, set the property skipPublishingChecks to true:
    引用:
  • JUnit 自述文件:https://github.com/jenkinsci/junit-plugin/blob/master/README.md
  • https://github.com/jenkinsci/checks-api-plugin/issues/38
  • 关于jenkins - 如何摆脱嘈杂的警告 "No suitable checks publisher found",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67162746/

    28 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com