Skip to content

Conversation

@thomas-riccardi
Copy link
Contributor

CoberturaPublisher is done at the end of the execution because it
cannot be duplicated (at least it was the case several years ago when
it was plugged-in).

With 1f3c17d / #482 we tried to
eagerly collect tests results even when tests failed, but didn't
properly handle that late collection in the case of errors before any
test step: the tests results won't exist.

Because it's a global, late collection, we cannot do the fancy double
collection with/without error propagation that we did in #482 for the
other tests results collections.
That's OK; the situation is explained to the user.

…e tests

CoberturaPublisher is done at the end of the execution because it
cannot be duplicated (at least it was the case several years ago when
it was plugged-in).

With 1f3c17d / #482 we tried to
eagerly collect tests results even when tests failed, but didn't
properly handle that late collection in the case of errors before any
test step: the tests results won't exist.

Because it's a global, late collection, we cannot do the fancy double
collection with/without error propagation that we did in #482 for the
other tests results collections.
That's OK; the situation is explained to the user.
@thomas-riccardi thomas-riccardi force-pushed the dev-fix-cobertura-report-collection-error-jenkins branch from 5c7a69b to f18ab63 Compare March 12, 2021 11:15
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@thomas-riccardi thomas-riccardi requested a review from nl2412 March 12, 2021 12:45
@thomas-riccardi thomas-riccardi merged commit 1acbb0d into master Mar 12, 2021
@thomas-riccardi thomas-riccardi deleted the dev-fix-cobertura-report-collection-error-jenkins branch March 12, 2021 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants