Friday 1 May 2020

Send notifications to Slack from Jenkins pipeline


If you want to receive notifications using Jenkins declarative pipelines, this post is for you!

Suppose you have a channel named #mychannel, and want to receive:
- a notification when the pipeline starts
- a notification when the pipeline ends, both if failed or succeeded.

You can do as the following:




And this is the result:





No comments:

Post a Comment