From 4e3101748c641677c961d45c7ea4d331ecf4308e Mon Sep 17 00:00:00 2001 From: Emmanuel Cazenave Date: Wed, 25 Apr 2018 09:42:39 +0200 Subject: [PATCH] Utils module --- src/eo/Utils.groovy | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/eo/Utils.groovy diff --git a/src/eo/Utils.groovy b/src/eo/Utils.groovy new file mode 100644 index 0000000..20644c6 --- /dev/null +++ b/src/eo/Utils.groovy @@ -0,0 +1,10 @@ +package eo; + + +def publish_cobertura_report(report_pattern) { + step([$class: 'CoberturaPublisher', autoUpdateHealth: false, autoUpdateStability: false, + coberturaReportFile: report_pattern, failUnhealthy: false, failUnstable: false, + maxNumberOfBuilds: 0, onlyStable: false, sourceEncoding: 'ASCII', zoomCoverageChart: false]) +} + +return this