-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
Component/s: job-dsl-plugin
Hi,
While creating downstreamParameterized builds 'never' is option is not available via DSL, its only available in the Jenkins UI. is this a bug or there is another way of achieving this config ?
Below stack trace when trying to generate with 'Never'
========================================
14:44:11 Processing DSL script pipelinejobs.groovy
14:44:13 ERROR: Build step failed with exception
14:44:13 java.lang.IllegalArgumentException: thresholdName must be one of these values: SUCCESS,UNSTABLE,FAILURE
14:44:13 at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
14:44:13 at com.google.common.base.Preconditions$checkArgument.call(Unknown Source)
14:44:13 at javaposse.jobdsl.dsl.helpers.common.DownstreamTriggerContext.blockingThreshold(DownstreamTriggerContext.groovy:111)