我在我的CI/CD设置中找不到Gitlab的测试覆盖范围解析设置
我想为我的测试覆盖结果设置正则表达式。
根据 gitlab的文档,我应该能够在项目设置中的测试覆盖范围解析设置中执行设置> CI/CD>一般管道
。
但是,我找不到那里的设置。我可以在哪里设置GitLab中测试覆盖范围解析设置的正则表达式?
I would like to set the regular expression for my test coverage results.
According to Gitlab's documentation, I should be able to do that in the test coverage parsing setting in my project settings, by navigating to Settings > CI/CD > General pipelines
.
However, I cannot find the setting there. Where can I set the regular expression for the test coverage parsing setting in Gitlab?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
自GitLab 14.8以来删除了“ rel =“ noreferrer”>弃用,自Gitlab 15.0以来已被删除。因此,该设置可以在
设置&gt中不再找到 ; CI/CD>一般管道
。现在,您应该在gitlab ci/cd配置文件中使用
coverage
设置,并在设置值中使用正则表达式:示例:
Since Gitlab 14.8, the test coverage parsing setting has been deprecated and has been removed since Gitlab 15.0. The setting can therefore no longer be found in
Settings > CI/CD > General pipelines
.You should now use the
coverage
setting in your Gitlab CI/CD configuration file and use your regular expression in the setting value:Example: