java.lang.IllegalArgumentException: Expected a closure or failFast but found slave0=org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper@5caff0a8

Stack Overflow | user3216060 | 3 months ago
  1. 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
  2. 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]
  3. 0

    [JIRA] (JENKINS-38037) Single parameter metasteps don't work with named-parameter symbols as of workflow-cps 2.14

    Google Groups | 3 months ago | andrew...@gmail.com (JIRA)
    java.lang.IllegalArgumentException: Failed to prepare multiShape step
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 slave0=org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper@5caff0a8

      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
      AbstractCallSite.call
      1. groovy.lang.GroovyObject$invokeMethod.call(Unknown Source)
      2. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      3 frames
    4. org.kohsuke.groovy
      GroovyInterceptor.onMethodCall
      1. org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:151)
      2. org.kohsuke.groovy.sandbox.GroovyInterceptor.onMethodCall(GroovyInterceptor.java:21)
      2 frames
    5. org.jenkinsci.plugins
      SandboxInterceptor.onMethodCall
      1. org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:115)
      2. org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:103)
      2 frames
    6. org.kohsuke.groovy
      Checker.checkedCall
      1. org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:149)
      2. org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:146)
      2 frames
    7. com.cloudbees.groovy
      SandboxInvoker.methodCall
      1. com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:15)
      1 frame
    8. Unknown
      WorkflowScript.run
      1. WorkflowScript.run(WorkflowScript:44)
      1 frame