aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/BuildConfig.groovy18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/BuildConfig.groovy b/src/BuildConfig.groovy
index 4696381..6c9aeab 100644
--- a/src/BuildConfig.groovy
+++ b/src/BuildConfig.groovy
@@ -1,6 +1,6 @@
// src/BuildConfig.groovy
package BuildConfig;
-import org.jenkinsci.plugins.xunit.threshold.XUnitThreshold
+//import org.jenkinsci.plugins.xunit.threshold.XUnitThreshold
//@AutoClone // annotation is not CPS-compatible?
class BuildConfig implements Serializable {
@@ -10,9 +10,18 @@ class BuildConfig implements Serializable {
def build_cmds = []
def test_cmds = []
def run_tests = true
- def thresh = XUnitThreshold()
def thresholds = [[$class: 'FailedThreshold', failureNewThreshold: '', failureThreshold: '', unstableNewThreshold: '', unstableThreshold: ''],
[$class: 'SkippedThreshold', failureNewThreshold: '', failureThreshold: '', unstableNewThreshold: '', unstableThreshold: '']]
+ def failedFailureNewThresh = ''
+ def failedFailureThresh = ''
+ def failedUnstableNewThresh = ''
+ def failedUnstableThresh= ''
+
+ def skippedFailureNewThresh = ''
+ def skippedFailureThresh = ''
+ def skippedUnstableNewThresh = ''
+ def skippedUnstableThresh= ''
+
// Constructors
BuildConfig() {
@@ -23,11 +32,6 @@ class BuildConfig implements Serializable {
this.nodetype = nodetype
}
- //def setTestThreshold(valuemap) {
- // for (threshold in this.xunit_map) {
- // if (threshold
- //}
-
// copy method requires Jenkins script approval for the
// following signatures:
// method groovy.lang.MetaBeanProperty getSetter