Skip to content
Snippets Groups Projects
Commit f0296016 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

templates/stage-python-tests: Set sourceFileResolver to publishCoverage

It enables to browse code coverage report at source file level in Jenkins Web UI.

Set the value to STORE_LAST_BUILD to only keep coverage report for the last
executed build job.
parent 11d29da3
No related branches found
No related tags found
1 merge request!67templates/stage-python-tests: Set sourceFileResolver to publishCoverage
......@@ -20,6 +20,7 @@ stage('Python tests') {
coberturaAdapter(path: 'coverage.xml'),
],
tag: 'pytest',
sourceFileResolver: sourceFiles('STORE_LAST_BUILD'),
)
// JUnit report
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment