summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/eo/Utils.groovy8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/eo/Utils.groovy b/src/eo/Utils.groovy
index 100a3f2..e647b51 100644
--- a/src/eo/Utils.groovy
+++ b/src/eo/Utils.groovy
@@ -33,10 +33,12 @@ def publish_coverage(report_pattern) {
}
-def publish_coverage_native(report_pattern) {
+def publish_coverage_native(
+ report_pattern = 'index.html', report_dir = 'htmlcov',
+ report_name = 'Coverage Report (native)') {
publishHTML target : [
- allowMissing: false, alwaysLinkToLastBuild: false, keepAll: true, reportDir: 'htmlcov',
- reportFiles: report_pattern, reportName: 'Coverage Report (native)',reportTitles: ''
+ allowMissing: false, alwaysLinkToLastBuild: false, keepAll: true, reportDir: report_dir,
+ reportFiles: report_pattern, reportName: report_name,reportTitles: ''
]
}