What would be the equivalent of this: post { always { echo 'One way or another, I have finished' deleteDir() /* clean up our workspace */ } success { echo 'I succeeeded!' } unstable { echo 'I am unstable :/' } failure { echo 'I failed :(' } changed { echo 'Things were different before...' } } }
in a Groovy pipleline? I'm looking at using "something" to notify by email if a build fails -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAArvnv1EH79K8XA9QMUDTqRAa8QWsixi_Pdx7cYon-88nyjcKg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.