Archive all coverage reports, named by test context

This commit is contained in:
Calen Pennington
2019-07-30 14:18:09 -04:00
parent c00b60ffa5
commit d0b160888b
3 changed files with 9 additions and 2 deletions

View File

@@ -175,7 +175,7 @@ pipeline {
post {
always {
script {
archiveArtifacts allowEmptyArchive: true, artifacts: 'reports/${TEST_SUITE}.coverage'
archiveArtifacts allowEmptyArchive: true, artifacts: 'reports/*.coverage'
publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: true,
reportDir: 'reports/cover', reportFiles: 'index.html',
reportName: 'Coverage.py Report', reportTitles: ''])