Implement smart cobertura class path correction
As we parse the cobertura XML, based on the given project full path and pipeline worktree paths, we will make some assumptions on how to determine the correct path of filenames that are not relative to the project root.
显示
- app/models/ci/build.rb 13 个添加, 1 个删除app/models/ci/build.rb
- app/models/ci/pipeline.rb 1 个添加, 1 个删除app/models/ci/pipeline.rb
- changelogs/unreleased/eb-cobertura-background-fix.yml 5 个添加, 0 个删除changelogs/unreleased/eb-cobertura-background-fix.yml
- config/feature_flags/development/smart_cobertura_parser.yml 8 个添加, 0 个删除config/feature_flags/development/smart_cobertura_parser.yml
- lib/gitlab/ci/parsers/coverage/cobertura.rb 101 个添加, 17 个删除lib/gitlab/ci/parsers/coverage/cobertura.rb
- spec/factories/ci/job_artifacts.rb 10 个添加, 0 个删除spec/factories/ci/job_artifacts.rb
- spec/fixtures/cobertura/coverage_with_paths_not_relative_to_project_root.xml.gz 0 个添加, 0 个删除...a/coverage_with_paths_not_relative_to_project_root.xml.gz
- spec/lib/gitlab/ci/parsers/coverage/cobertura_spec.rb 616 个添加, 133 个删除spec/lib/gitlab/ci/parsers/coverage/cobertura_spec.rb
- spec/models/ci/build_spec.rb 28 个添加, 1 个删除spec/models/ci/build_spec.rb
- spec/models/ci/pipeline_spec.rb 10 个添加, 0 个删除spec/models/ci/pipeline_spec.rb
- spec/services/ci/pipelines/create_artifact_service_spec.rb 2 个添加, 1 个删除spec/services/ci/pipelines/create_artifact_service_spec.rb
加载中
想要评论请 注册 或 登录