use jenkins-lib
This commit is contained in:
parent
c4f98f8a61
commit
eabf9c1daa
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue