Closed enys closed 8 months ago
The coverage step should add support for empty results:
It makes sense to re-use the existing property failOnError for both cases, see https://www.jenkins.io/doc/pipeline/steps/code-coverage-api/#recordcoverage-record-code-coverage-results.
failOnError
In both cases a new UI needs to be designed that takes care of such an edge case.
Note that the second requirement needs to be implemented in the https://github.com/jenkinsci/coverage-model library.
Can you please clarify your requirement? Which one are you interested in:
@uhafner i suppose should be useful both requirements 🙂
I updated the documentation. PRs are always welcome 🙏
The coverage step should add support for empty results:
It makes sense to re-use the existing property
failOnError
for both cases, see https://www.jenkins.io/doc/pipeline/steps/code-coverage-api/#recordcoverage-record-code-coverage-results.In both cases a new UI needs to be designed that takes care of such an edge case.
Note that the second requirement needs to be implemented in the https://github.com/jenkinsci/coverage-model library.