You need the corresponding plugin installed ( https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin). It is mentioned in the documentation but it could be worth adding a link.
Vincent 2016-03-26 19:02 GMT+01:00 David Karlsen <[email protected]>: > Hm - I followed those links and found > https://jenkins.io/doc/pipeline/steps/email-ext/#emailext-extended-email > > but got: > "java.lang.NoSuchMethodError: No such DSL method 'emailext' found > among [archive, bat, build, catchError, checkout, checkpoint, > deleteDir, dir, dockerFingerprintFrom, dockerFingerprintRun, echo, > error, fileExists, git, input, isUnix, jiraComment, jiraIssueSelector, > jiraSearch, load, mail, node, parallel, properties, pwd, readFile, > retry, sh, sleep, stage, stash, step, svn, timeout, tool, unarchive, > unstash, waitUntil, withDockerContainer, withDockerRegistry, > withDockerServer, withEnv, wrap, writeFile, ws] > > at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:107) > at > org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:112)" > > was it introduced in a specific version? > > 2016-03-26 17:52 GMT+01:00 Daniel Beck <[email protected]>: > > Given the thread title I'd like to point out we're now in beta: > > https://jenkins.io/blog/2016/03/24/jenkins-2-beta-released/ > > > > ----- > > > > On 25.03.2016, at 23:47, E <[email protected]> wrote: > > > >> I cannot find documentation for the Jenkinsfile DSL format. It should > be linked on the announcement page at (https://jenkins-ci.org/2.0/ and > https://jenkins.io/2.0/) so that all the people who come will get a > chance to look at it. > > > > Besides the Jenkins-specific stuff, it's essentially Groovy: > > http://groovy-lang.org/ > > > > Here are some links that should get you started: > > https://jenkins.io/doc/pipeline/ > > https://jenkins.io/doc/pipeline/jenkinsfile/ > > https://jenkins.io/doc/pipeline/steps/ > > > https://github.com/jenkinsci/workflow-plugin/blob/master/basic-steps/CORE-STEPS.md > > > https://github.com/jenkinsci/workflow-plugin/blob/master/scm-step/README.md > > > https://github.com/jenkinsci/workflow-plugin/blob/master/cps-global-lib/README.md > > > > I added links these from the Pipeline plugin wiki page. > > > > -- > > You received this message because you are subscribed to the Google > Groups "Jenkins Users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/D400CE4B-2ECC-4AE6-8551-C8C0204DDB70%40beckweb.net > . > > For more options, visit https://groups.google.com/d/optout. > > > > -- > -- > David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CAGO7Ob07n7-TMVTRpePeyXk8rjCHXe9%3DaCE853yrPvF%2BtnapFA%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAH-zGCirNKMdFdjZR_EL8qkhAsY%2BtaSq18iJOOg7Eb8bec8RLw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
