Hi, The "mail" DSL function simply sends out mail. The "step" version of mail has a lot of useful functionality, like sending mails out on broken builds, and sending "Fixed" mails out when the build is fixed.
In this document: https://github.com/jenkinsci/workflow-plugin/blob/master/basic-steps/CORE-STEPS.md#plain-catch-blocks This text: *For that, check if currentBuild.previousBuild exists, what its .result is, etc.* needs to be fleshed out with a proper example for the "mail" DSL function. -- Craig On Mon, Dec 28, 2015 at 7:31 PM, Michael Neale <[email protected]> wrote: > Looks good to me - doing some fairly involved things but it reads clearly > to me. I presume the "mail" DSL function didn't do what you want so you had > to use the "step" version of it? > > If you find you have many flows that do similar things you could make your > own DSL functions to share for the freebsd instance. > > I like it! Nicely done. > > > On Wednesday, December 23, 2015 at 9:37:00 AM UTC+11, Craig Rodrigues > wrote: >> >> Hi, >> >> I am making some serious efforts to convert my existing Jenkins jobs >> to use workflow. My first attempt is here: >> >> >> https://github.com/freebsd/freebsd-ci/blob/master/scripts/build/build-test.groovy >> > -- 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/CAG%3DrPVfdX8RYU9hGwZ3jeyijVcXbSoWgnr7y7EeFrMrqXrvMxw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
