-
Bug
-
Resolution: Not A Defect
-
Blocker
-
None
-
jenkins-1.654
It seems that the documentation of the workflow plugin from https://github.com/jenkinsci/workflow-plugin/blob/master/TUTORIAL.md give examples of the usage of the "sh" DSL, but the installation of the plugin does not provide these.
Somehow it seems that the "sh" is missing
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(DSL.java:107)
at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:113)
at groovy.lang.GroovyObject$invokeMethod.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:151)