There was an excellent post on the Jenkins blog that had some great 
examples, here:

https://jenkins.io/blog/2017/02/15/declarative-notifications/

On Thursday, April 2, 2020 at 4:40:18 AM UTC-7, Vitaly Karasik wrote:
>
> Question regarding Slack Notification plugin in declarative pipeline: is 
> there an elegant way to modify color and embed relevant emoji depends on 
> currentBuild.currentResult?
> Or I should clone "slackSend" 3 times - for success, unstable and failed 
> build?
>

-- 
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/2626030f-3813-49f8-ab2d-a6d7f40afb2c%40googlegroups.com.

Reply via email to