由于此错误,我无法运行 gitlab 管道
Invalid CI config YAML file
jobs:run tests:artifacts:reports config contains unknown keys: cobertura
在这里检查最新的正确文档:https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportscoverage_report https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportscoverage_report
由于如上所述的新版本,一些文档现在处于某种混乱的状态。
这对我来说是解决方法:
artifacts:
expire_in: 2 days
reports:
coverage_report:
coverage_format: cobertura
path: python_app/coverage.xml
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)