java.lang.NoSuchMethodError: **No such DSL method 'someFunc'** found among [archive, bat, build, catchError, checkout, deleteDir, dir, echo, emailext, emailextrecipients, error, fileExists, git, input, isUnix, load, mail, node, parallel, properties, pwd, readFile, readTrusted, retry, sh, sleep, stage, stash, step, svn, timeout, timestamps, tool, unarchive, unstash, waitUntil, withCredentials, withEnv, wrap, writeFile, ws]

Stack Overflow | Kayden | 7 months 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. 0

    jenkins pipeline No such DSL method

    Stack Overflow | 7 months ago | Kayden
    java.lang.NoSuchMethodError: **No such DSL method 'someFunc'** found among [archive, bat, build, catchError, checkout, deleteDir, dir, echo, emailext, emailextrecipients, error, fileExists, git, input, isUnix, load, mail, node, parallel, properties, pwd, readFile, readTrusted, retry, sh, sleep, stage, stash, step, svn, timeout, timestamps, tool, unarchive, unstash, waitUntil, withCredentials, withEnv, wrap, writeFile, ws]
  2. 0

    [workflow-plugin] Java.lang.NoSuchMethodError: No such DSL method

    Google Groups | 2 years ago | Bill Smith
    java.lang.NoSuchMethodError: No such DSL method git found among [archive, bat, build, catchError, checkout, dir, echo, input, load, node, parallel, pwd, readFile, retry, sh, stage, step, svn, timeout, tool, unarchive, writeFile, ws]
  3. 0

    Jenkins users - [workflow-plugin] Java.lang.NoSuchMethodError: No such DSL method

    nabble.com | 10 months ago
    java.lang.NoSuchMethodError: No such DSL method git found among [archive, bat, build, catchError, checkout, dir, echo, input, load, node, parallel, pwd, readFile, retry, sh, stage, step, svn, timeout, tool, unarchive, writeFile, ws]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 229#225900566

    GitHub | 9 months ago | sungardas-cloud-devops
    java.lang.NoSuchMethodError: No such DSL method 'slackSend' found among [archive, bat, build, catchError, checkout, deleteDir, dir, echo, error, fileExists, git, input, isUnix, load, mail, node, parallel, properties, pwd, readFile, readTrusted, retry, sh, sleep, stage, stash, step, timeout, tool, unarchive, unstash, waitUntil, withEnv, wrap, writeFile, ws]
  6. 0

    [JIRA] [workflow-plugin] (JENKINS-31968) Script from the workflow tutorial doesn't work in Jenkins out of the box

    Google Groups | 1 year ago | ks.nenasheva@gmail.com (JIRA)
    java.lang.NoSuchMethodError: No such DSL method version found among [archive, bat, build, catchError, checkout, deleteDir, dir, echo, error, fileExists, git, input, load, mail, node, parallel, pwd, readFile, retry, sh, sleep, stage, stash, step, svn, timeout, tool, unarchive, unstash, waitUntil, withEnv, wrap, writeFile, ws]

    4 unregistered visitors
    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.NoSuchMethodError

      **No such DSL method 'someFunc'** found among [archive, bat, build, catchError, checkout, deleteDir, dir, echo, emailext, emailextrecipients, error, fileExists, git, input, isUnix, load, mail, node, parallel, properties, pwd, readFile, readTrusted, retry, sh, sleep, stage, stash, step, svn, timeout, timestamps, tool, unarchive, unstash, waitUntil, withCredentials, withEnv, wrap, writeFile, ws]

      at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod()
    2. org.jenkinsci.plugins
      CpsScript.invokeMethod
      1. org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:124)
      2. org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:117)
      2 frames
    3. Groovy
      AbstractCallSite.call
      1. groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1280)
      2. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1174)
      3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
      4. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:42)
      5. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      6. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      6 frames
    4. com.cloudbees.groovy
      DefaultInvoker.methodCall
      1. com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:15)
      1 frame
    5. Unknown
      ___cps.transform___
      1. WorkflowScript.run(WorkflowScript:4)
      2. ___cps.transform___(Native Method)
      2 frames
    6. com.cloudbees.groovy
      FunctionCallBlock$ContinuationImpl.fixArg
      1. com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:55)
      2. com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:106)
      3. com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:79)
      3 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor878.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    8. com.cloudbees.groovy
      Continuable.run0
      1. com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
      2. com.cloudbees.groovy.cps.impl.ClosureBlock.eval(ClosureBlock.java:40)
      3. com.cloudbees.groovy.cps.Next.step(Next.java:58)
      4. com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:154)
      4 frames
    9. org.jenkinsci.plugins
      CpsVmExecutorService$2.call
      1. org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:164)
      2. org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:360)
      3. org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:80)
      4. org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:236)
      5. org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:226)
      6. org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:47)
      6 frames
    10. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(Unknown Source)
      1 frame
    11. Hudson :: Remoting Layer
      SingleLaneExecutorService$1.run
      1. hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
      1 frame
    12. jenkins.util
      ContextResettingExecutorService$1.run
      1. jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
      1 frame
    13. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      5. java.lang.Thread.run(Unknown Source)
      5 frames