jenkinsfile: try publishing coverage as an html artifact
This commit is contained in:
parent
61b4cb431a
commit
d5bc502f9b
|
@ -7,7 +7,7 @@ pipeline {
|
|||
parallel {
|
||||
stage('Python 2') {
|
||||
steps {
|
||||
sh 'tox -r -e py2-django111 -- --junitxml=test_results.xml --cov-report xml --cov=bidon/ tests/'
|
||||
sh 'tox -r -e py2-django111 -- --junitxml=test_results.xml --cov-report xml --cov-report html --cov=bidon/ tests/'
|
||||
}
|
||||
}
|
||||
stage('Python 3') {
|
||||
|
@ -31,6 +31,7 @@ pipeline {
|
|||
post {
|
||||
always {
|
||||
junit 'test_results.xml'
|
||||
archiveArtifacts '**/htmlcov'
|
||||
script {
|
||||
utils = new Utils()
|
||||
utils.publish_cobertura_report('**/coverage.xml')
|
||||
|
|
Loading…
Reference in New Issue