aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/BuildConfig.groovy2
-rw-r--r--vars/utils.groovy5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/BuildConfig.groovy b/src/BuildConfig.groovy
index a43ede6..87cec27 100644
--- a/src/BuildConfig.groovy
+++ b/src/BuildConfig.groovy
@@ -19,7 +19,7 @@ class BuildConfig implements Serializable {
def failedFailureNewThresh = ''
def failedFailureThresh = ''
def failedUnstableNewThresh = ''
- def failedUnstableThresh= ''
+ def failedUnstableThresh= '0'
def skippedFailureNewThresh = ''
def skippedFailureThresh = ''
diff --git a/vars/utils.groovy b/vars/utils.groovy
index c37ea21..eacba36 100644
--- a/vars/utils.groovy
+++ b/vars/utils.groovy
@@ -443,6 +443,11 @@ def run(configs, concurrent = true) {
// root of the workspace, the XUnitBuilder report
// ingestion will fail.
report_exists = sh(script: "test -e *.xml", returnStatus: true)
+ def thresh_summary = "failedUnstableThresh: ${myconfig.failedUnstableThresh}\n" +
+ "failedFailureThresh: ${myconfig.failedFailureThresh}\n" +
+ "skippedUnstableThresh: ${myconfig.skippedUnstableThresh}\n" +
+ "skippedFailureThresh: ${myconfig.skippedFailureThresh}"
+ println(thresh_summary)
if (report_exists == 0) {
step([$class: 'XUnitBuilder',
thresholds: [