Branch: refs/heads/master
Home: https://github.com/jenkinsci/code-coverage-api-plugin
Commit: c981227e2b0c9158deefcc9fec9b4ee1d81cab86
https://github.com/jenkinsci/code-coverage-api-plugin/commit/c981227e2b0c9158deefcc9fec9b4ee1d81cab86
Author: Antoine Lambert <[email protected]>
Date: 2023-01-24 (Tue, 24 Jan 2023)
Changed paths:
M plugin/src/main/java/io/jenkins/plugins/coverage/model/CoverageNode.java
M
plugin/src/test/java/io/jenkins/plugins/coverage/model/CoverageNodeTest.java
A
plugin/src/test/resources/io/jenkins/plugins/coverage/model/cobertura-package-root.xml
Log Message:
-----------
CoverageNode: Fix mergePath for node created from cobertura report
When a coverage node has been created from a cobertura report, the mergePath
method was returning a wrong path if the provided local path contains any
subpaths in it. Those subpaths were prepended to the local path thus doubling
them in the merged path (for instance "a/b/c" was transformed to "a/b/a/b/c").
As a consequence, FileCoverageNode.getPath was returning a wrong file path which
prevented any source file painting and display in the Jenkins UI.
Fix #456
Commit: 739f31ff28a5e0f41c93a21a621e725066bfd8e3
https://github.com/jenkinsci/code-coverage-api-plugin/commit/739f31ff28a5e0f41c93a21a621e725066bfd8e3
Author: Ullrich Hafner <[email protected]>
Date: 2023-01-26 (Thu, 26 Jan 2023)
Changed paths:
M plugin/src/main/java/io/jenkins/plugins/coverage/model/CoverageNode.java
M
plugin/src/test/java/io/jenkins/plugins/coverage/model/CoverageNodeTest.java
A
plugin/src/test/resources/io/jenkins/plugins/coverage/model/cobertura-package-root.xml
Log Message:
-----------
Merge pull request #547 from
anlambert/coverage-node-fix-mergepath-for-cobertura
CoverageNode: Fix mergePath for node created from cobertura report
Compare:
https://github.com/jenkinsci/code-coverage-api-plugin/compare/40378343f667...739f31ff28a5
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/code-coverage-api-plugin/push/refs/heads/master/403783-739f31%40github.com.