java.lang.IllegalArgumentException: thresholdName must be one of these values: SUCCESS,UNSTABLE,FAILURE

Jenkins JIRA | gangadhar chalapaka | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. tvrmsmith 2 times, last 8 months ago

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    thresholdName must be one of these values: SUCCESS,UNSTABLE,FAILURE

    at com.google.common.base.Preconditions.checkArgument()
  2. Guava
    Preconditions$checkArgument.call
    1. com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
    2. com.google.common.base.Preconditions$checkArgument.call(Unknown Source)
    2 frames
  3. javaposse.jobdsl.dsl
    DownstreamTriggerContext.blockingThreshold
    1. javaposse.jobdsl.dsl.helpers.common.DownstreamTriggerContext.blockingThreshold(DownstreamTriggerContext.groovy:111)
    1 frame