coverage reports
This commit is contained in:
parent
00efe6e58f
commit
709f2ea7c3
|
@ -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')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue