Kool! Thanks!

I suspected as much but now I full understand what's going on.

On Mon, Dec 4, 2017 at 1:15 AM Ramanathan Muthaiah <[email protected]>
wrote:

> 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
>>
>>
> Groovy code presented in this Cloudbees' article is about mail
> notifications (also, slack and hipchat) -- but you may want to extend it to
> suit your needs.
>
> https://www.cloudbees.com/blog/sending-notifications-pipeline
>
> /Ram
>
> --
> 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/da5927cf-2fc5-4c46-9734-8db06b87be7a%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/da5927cf-2fc5-4c46-9734-8db06b87be7a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAArvnv3%2ByXh54RAG8pr3yspRUMXzmV6vAsADjuDn0gC__t-93w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to