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}

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web10

  • Stack trace

    • 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(ParallelStep.java:202) at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:134) at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:113) at groovy.lang.GroovyObject$invokeMethod.call(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,