diff --git a/Jenkinsfile b/Jenkinsfile index 979901c..3b879e3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,3 +1,5 @@ +@Library('eo-jenkins-lib') import eo.Utils + pipeline { agent any stages{ @@ -19,8 +21,10 @@ pipeline { post { always { junit 'test_results.xml' - step([$class: 'CoberturaPublisher', autoUpdateHealth: false, autoUpdateStability: false, coberturaReportFile: '**/coverage.xml', failUnhealthy: false, failUnstable: false, maxNumberOfBuilds: 0, onlyStable: false, sourceEncoding: 'ASCII', zoomCoverageChart: false]) script { + utils = Utils() + utils.publish_cobertura_report('**/coverage.xml') + // Hack to have the 'jenkins build back to normal' mail sent if (currentBuild.result == null) { currentBuild.result = 'SUCCESS'