coverage reports

This commit is contained in:
Emmanuel Cazenave 2018-04-26 12:00:29 +02:00
parent 00efe6e58f
commit 709f2ea7c3
1 changed files with 4 additions and 3 deletions

7
Jenkinsfile vendored
View File

@ -5,7 +5,7 @@ pipeline {
stages {
stage('unit test') {
steps {
sh 'tox -r -- --junitxml=test_results.xml --cov-report xml --cov=bidon/ tests/'
sh 'tox -r -- --junitxml=test_results.xml --cov-report xml --cov-report html --cov=bidon/ tests/'
}
}
stage('packaging') {
@ -23,8 +23,9 @@ pipeline {
junit 'test_results.xml'
script {
utils = new Utils()
utils.publish_cobertura_report('**/coverage.xml')
utils.mail_notify(currentBuild, env, 'manukaz@gmail.com')
utils.publish_coverage('coverage.xml')
utils.publish_coverage_native('coverage.html')
utils.mail_notify(currentBuild, env, 'admin+jenkins-bidon@entrouvert.com')
}
}
}