From 709f2ea7c34bd401cf4ba9bf2bdc518f68e7c8e1 Mon Sep 17 00:00:00 2001 From: Emmanuel Cazenave Date: Thu, 26 Apr 2018 12:00:29 +0200 Subject: [PATCH] coverage reports --- Jenkinsfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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') } } }