diff --git a/Jenkinsfile b/Jenkinsfile index 60331be..5abeb85 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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') } } }