summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Cazenave <ecazenave@entrouvert.com>2018-04-25 07:42:39 (GMT)
committerEmmanuel Cazenave <ecazenave@entrouvert.com>2018-04-25 07:42:39 (GMT)
commit4e3101748c641677c961d45c7ea4d331ecf4308e (patch)
treec44bfadc28d2971de4d090d77ff81f9fb1843608
downloadjenkins-lib-4e3101748c641677c961d45c7ea4d331ecf4308e.zip
jenkins-lib-4e3101748c641677c961d45c7ea4d331ecf4308e.tar.gz
jenkins-lib-4e3101748c641677c961d45c7ea4d331ecf4308e.tar.bz2
Utils module
-rw-r--r--src/eo/Utils.groovy10
1 files changed, 10 insertions, 0 deletions
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