java.lang.IllegalArgumentException: Expected a closure or failFast but found branches={spam=org.jenkinsci.plugins.workflow.cps.CpsClosure2@3717bc27, eggs=org.jenkinsci.plugins.workflow.cps.CpsClosure2@5b9bdc9b}

Jenkins JIRA | Konstantin Veretennicov | 6 months ago
  1. 0

    [JIRA] [pipeline-utility-steps-plugin] (JENKINS-35036) Unable to pass map of closures and failFast parameter to "parallel" pipeline step

    Google Groups | 6 months ago | kveretenni...@gmail.com (JIRA)
    java.lang.IllegalArgumentException: Expected a closure or failFast but found branches=</p> {spam=org.jenkinsci.plugins.workflow.cps.CpsClosure2@3717bc27, eggs=org.jenkinsci.plugins.workflow.cps.CpsClosure2@5b9bdc9b} <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0"> at org.jenkinsci.plugins.workflow.cps.steps.ParallelStep$DescriptorImpl.newInstance(ParallelStep.java:202)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    How to dynamically trigger build jobs?

    Stack Overflow | 3 months ago | user3216060
    java.lang.IllegalArgumentException: Expected a closure or failFast but found slave0=org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper@5caff0a8
  4. 0

    Error: "Expected named arguments" in parallel in Jenkins groovy script

    Stack Overflow | 7 months ago | naught101
    java.lang.IllegalArgumentException: Expected named arguments but got [org.jenkinsci.plugins.workflow.cps.CpsClosure2@242d0d3a, org.jenkinsci.plugins.workflow.cps.CpsClosure2@9bf6d64]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Expected a closure or failFast but found branches={spam=org.jenkinsci.plugins.workflow.cps.CpsClosure2@3717bc27, eggs=org.jenkinsci.plugins.workflow.cps.CpsClosure2@5b9bdc9b}

      at org.jenkinsci.plugins.workflow.cps.steps.ParallelStep$DescriptorImpl.newInstance()
    2. org.jenkinsci.plugins
      CpsScript.invokeMethod
      1. org.jenkinsci.plugins.workflow.cps.steps.ParallelStep$DescriptorImpl.newInstance(ParallelStep.java:202)
      2. org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:134)
      3. org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:113)
      3 frames
    3. Groovy
      GroovyObject$invokeMethod.call
      1. groovy.lang.GroovyObject$invokeMethod.call(Unknown Source)
      1 frame