Le 5 mai 2016 9:47 PM, "Mike Caspar" <m...@caspar.com> a écrit : > > Awesome. > > This worked great. > > I managed to simply wrap a try around my whole file and then a catch/finally for success and failure. > > Craig, I'll look at the example. Thanks > > I did figure out that I needed to use the error tag with some text during my catch block and that properly set it the status to failed.. Cool. > > Where would be a good place to put this as an example in the docs for others ?
Please add your examples there: https://github.com/jenkinsci/pipeline-examples Thanks a lot! -- 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/CANWgJS6hy6Ut8XnLUCT5Br2JyjwzKQ6Vi%2BNyXPChCiq-JOP1nQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.