Thursday, May 17, 2018

Jenkins Slack Integration - Jenkins push notifications to Slack Channel - How to integrate Jenkins and Slack - Slack Jenkins Integration

How to integrate Slack with Jenkins? You need to install slack notifications plug-in in Jenkins.


Pre-requistes:
Install Slack notifications plug-in

Steps to integrate Slack with Jenkins:

1. Go to www.slack.com and signup with your email, create your workspace.
2. Create a channel in Slack. Give any name.
3. Go to Channel --> Click on channel name --> Click Integrations --> Click Add an app



4. enter Jenkins CI and choose that.



5. Click on Add configuration
6. Add Jenkins CI configuration and select the channel from the drop down.


7. once you added, you will see the below page:



8. Now navigate to Jenkins, Manage Jenkins --> Configure System. Under Global Slack notifier settings. Enter the Team Subdomain value as workspace. Also provide channel name based on what you created. Also provide the token info as well


Token info can be entered by click on Add credentials, Choose secret text drop down and enter token in password text box.

 
9. Now to your Job in Jenkins, Click on Configure.  Click on add post build action. select desired settings. 

10. Click on Apply, and Save

11. Click on Build Now, Now you will see results in Slack channel.


You can watch the steps in my YouTube channel as well:





5 comments:

  1. Replies
    1. Big data is a term that describes the large volume of data – both structured and unstructured – that inundates a business on a day-to-day basis. big data projects for students But it’s not the amount of data that’s important.Project Center in Chennai

      Spring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Corporate TRaining Spring Framework the authors explore the idea of using Java in Big Data platforms.

      Spring Training in Chennai

      The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

      Delete
  2. Thanks for the informative article. This is one of the best resources I have found in quite some time. Nicely written and great info. I really cannot thank you enough for sharing.
    AWS Online Training
    AWS Certification Training
    AWS Certification Course Online
    AWS Training
    AWS Online Course

    ReplyDelete