Slack Integration with Jenkins - Bug Reaper

                  Bug Reaper

Lean about Automation Testing,Selenium WebDriver,RestAssured,Appium,Jenkins,JAVA,API Automation,TestNG,Maven, Rest API, SOAP API,Linux,Maven,Security Testing,Interview Questions

Sunday, 16 June 2019

Slack Integration with Jenkins



We can use Slack to get notification of the Jenkins Job status

1.)Go to https://slack.com
2.)Create new workspace
3.) Give your email address example 'something@gmail.com'
4.)Create new channel example: #perf-test




5.)Go to https://<'something>.slack.com/apps
6.)Browse for ‘Jenkins’ app


7.)Install Jenkins CI App in your slack





8.)Click on the ‘Add Configuration’

9.)  In jenkins , Go to Plugin Manager and Install Slack Notification Plugin







Steps To Configure With Jenkins

1.) Go To Jenkins Job
2.) Click on Manage Jenkins
3.) Click on Configure System and then Go to Global Slack Notification Settings

Note: Please remember to replace the example Base URL and Integration Token in the screenshot below with your own.


4.) Now Go to Jenkins Job for which you want to configure Slack Notofications
5.)Click on Configure and Select Post Build Actions
6.)Select Slack Notification Section and fill info in Advance Section as well like Base Url and Token like you provided in above step
7.) Click on Test Button to check if its Success message





8.) Now trigger the build and wait for the messages in the #perf-test channel created





Now you can see in above picture , user is getting messages from Jenkins Job in this slack channel

2 comments:

  1. This blog is really an informative blog and websites will never get enough content. If we talk about the content it is not just about great content. But highly engaging and compelling content that will solve people's problems. Here is our Slack clone. This content is really helpful from the user's point of view. We have another topic that is trending. People are looking for online businesses like budget-friendly cab booking software.

    ReplyDelete
  2. The ADA's digital marketing course contains exceptionally compelling digital marketing training that will assist you with finding modern strategies for brand advancement. We are satisfied to acquaint you with a legitimate computerized advertising school that offers online business courses to assist you with propelling your vocation and business. We've set up a norm for giving the best Digital Marketing Company in Amritsar. We need to direct your vocation in the appropriate way, in light of our set up history of various fruitful voyages. The methods we instruct are altogether founded on true undertakings. We work with students to assist them with further developing their reasoning abilities and widen their inventiveness.

    ReplyDelete