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

Jenkins JIRA | gangadhar chalapaka | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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