java.lang.NoSuchMethodError: No such DSL method 'sh' found among [ansiblePlaybook, build, checkout, git, input, jiraComment, jiraIssueSelector, jiraSearch, load, node, parallel, properties, slackSend, sshagent, stage, stash, svn, unstash, ws]

Jenkins JIRA | Sorin Sbarnea | 8 months ago
  1. 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]
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 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. 0

    [JIRA] [workflow-plugin] (JENKINS-32766) 'Official' Groovy XML authoring don't work in pipeline: NoSuchMethodError

    Google Groups | 10 months ago | cleclerc@cloudbees.com (JIRA)
    java.lang.NoSuchMethodError: No such DSL method 'car' found among [archive, bat, build, catchError, checkout, checkpoint, deleteDir, dir, dockerFingerprintFrom, dockerFingerprintRun, echo, error, fileExists, git, input, isUnix, load, mail, node, parallel, properties, pwd, readFile, retry, sh, sleep, sshagent, stage, stash, step, timeout, tool, triggerRemoteJob, unarchive, unstash, waitUntil, withCredentials, withDockerContainer, withDockerRegistry, withDockerServer, 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 'sh' found among [ansiblePlaybook, build, checkout, git, input, jiraComment, jiraIssueSelector, jiraSearch, load, node, parallel, properties, slackSend, sshagent, stage, stash, svn, unstash, 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:107)
      2. org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:113)
      2 frames
    3. Groovy
      AbstractCallSite.call
      1. groovy.lang.GroovyObject$invokeMethod.call(Unknown Source)
      2. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      3 frames
    4. org.kohsuke.groovy
      Checker$1.call
      1. org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:151)
      1 frame