Jenkins in Tamil 26 How to send slack notifications with jenkins | Jenkins for Beginners Tamil

Jenkins in Tamil 26 How to send slack notifications with jenkins | Jenkins for Beginners Tamil


Jenkins in Tamil 26 How to send slack notifications with jenkins | Jenkins for Beginners Tamil

#jenkins #jenkins_in_tamil #jenkins_pipeline #devops #tamiltutera
Jenkins in Tamil 26 How to send slack notifications with jenkins | Jenkins for Beginners Tamil
   • Jenkins in Tamil 26 How to send slack…  

Join this channel to get access to perks:
   / @tamiltutera  

Site: https://tamiltutera.com
linkedIn: https://www.linkedin.com/in/tamiltutera/
Telegram Link: https://t.me/tamiltutera
Youtube Channel:    / tamiltutera  
Blog: https://tamiltutera.blogspot.com/
Like Facebook Page : https://www.facebook.com/tamiltutera
Follow us on Twitter: https://twitter.com/tamiltutera
Blog : https://tamiltutera.blogspot.com

Jenkins in Tamil 25 How to use docker compose with jenkins in Tamil | Jenkins for Beginners Tamil
   • Jenkins in Tamil 25 How to use docker…  


Jenkins in Tamil 24 How to integrate ansible with jenkins | Jenkins for Beginners Tamil
   • Jenkins in Tamil 24 How to integrate …  

Jenkins in Tamil 23 How to deploy docker images using jenkins in Tamil | Jenkins for Beginners Tamil
   • Jenkins in Tamil 23 How to deploy doc…  

Jenkins in Tamil 22 How to trigger powershell with params using pipeline   • Jenkins in Tamil 22 How to trigger po…  

Jenkins in Tamil 21 How to Trigger ansible playbook using jenkins | CI_CD | Iaac | DevOps in Tamil
   • Jenkins in Tamil 21 How to Trigger an…  


Jenkins in Tamil 20 How to Start Stop services using powershell | CI_CD | Jenkins | DevOps in Tamil
   • Jenkins in Tamil 20 How to Start Stop…  

Jenkins for Beginners in Tamil 18 How to Execute Powershell with Plugins | CI\u0026CD pipeline Tutorial Tamil DevOps
   • Jenkins in Tamil 18 How to Execute Po…  

Jenkins for Beginners in Tamil 17 How to Execute Powershell Script | CI\u0026CD pipeline Tutorial Tamil DevOps Tamil
   • Jenkins in Tamil 17 How to Execute Po…  

Jenkins for Beginners in Tamil 16 How to Migrate Jenkins in Tamil | CI\u0026CD pipeline Tutorial Tamil DevOps Tamil
   • Jenkins in Tamil 16 How to Migrate Je…  

Jenkins in Tamil 15 How to backup jenkins in Tamil | CI\u0026CD pipeline Tutorial Tamil DevOps Tamil
   • Jenkins in Tamil 15 How to backup jen…  

Jenkins for Beginners in Tamil 14 How to manage jenkins in Tamil | CI\u0026CD pipeline Tutorial Tamil DevOps Tamil
   • Jenkins in Tamil 14 How to manage jen…  

Jenkins for Beginners in Tamil 13 How to configure slave nodes in jenkins | CI\u0026CD pipeline Tutorial Tamil DevOps
   • Jenkins in Tamil 13 How to configure …  

Jenkins for Beginners in Tamil 12 What is master and slaves in jenkins | CI\u0026CD pipeline Tutorial Tamil DevOps
   • Jenkins in Tamil 12 What is master an…  

Jenkins for Beginners in Tamil 11 Create Jenkins Pipeline Script Tamil | CI\u0026CD pipeline Tutorial in Tamil | DevOps
   • Jenkins in Tamil 11 Create Jenkins Pi…  

Jenkins for Beginners in Tamil 10 How to Build pipeline job in jenkins | CI\u0026CD pipeline Tutorial in Tamil | DevOps
   • Jenkins in Tamil 10 How to Build pipe…  

Jenkins for Beginners in Tamil 09 How to Create Jobs in Jenkins | Jenkins for beginners in tamil | CI\u0026CD in Tamil
   • Jenkins in Tamil 09 How to Create Job…  

Jenkins for Beginners in Tamil 08 What is Jenkins Pipeline | Jenkins for beginners in tamil | CI\u0026CD | DevOps Tamil
   • Jenkins in Tamil 08 What is Jenkins P…  

Jenkins for Beginners in Tamil 07 Install Jenkins using WAR File | Jenkins for beginners in tamil | CI\u0026CD | DevOps
   • Jenkins in Tamil 07 Install Jenkins u…  

Jenkins for Beginners in Tamil 06 Install Jenkins on CentOS in Tamil|Jenkins for beginners in tamil | CICD |DevOps
   • Jenkins in Tamil 06 Install Jenkins o…  

Jenkins for Beginners in Tamil 05 Install Jenkins on Ubuntu Linux |Jenkins for beginners in tamil | CICD |DevOps
   • Jenkins in Tamil 05 Install Jenkins o…  

Jenkins for Beginners in Tamil-04-Install Jenkins on Windows in Tamil|Jenkins beginners in tamil | CICD |DevOps
   • Jenkins in Tamil-04-Install Jenkins o…  

Jenkins for Beginners in Tamil-03-Introduction to Jenkins in Tamil | Jenkins for beginners in tamil | CICD |DevOps
   • Jenkins in Tamil-03-Introduction Jenk…  

Jenkins in Tamil-02-Overview of Continuous Delivery in Tamil | Jenkins beginners in Tamil | Jenkins
   • Jenkins in Tamil-02- Continuous Deliv…  

Jenkins for Beginners in Tamil-01-Overview of Continous Integration in Tamil |Jenkins beginners in Tamil | Jenkins
   • Jenkins in Tamil-01-Continous Integra…  

TamilTutEra - Ansible in Tamil | Ansible in தமிழ் (Tamil) | Ansible Tutorial for beginners in Tamil | Ansible Tutorial in Devops | ansible playbook
   • TamilTutEra - Ansible in  Tamil | Ans…  

TamilTutEra-Docker in Tamil | Docker for Beginners in Tamil | Docker | Docker DevOps Tutorial in Tamil | DevOps Tutorial in Tamil
   • TamilTutEra-Docker in Tamil | Docker …  

#tamiltutera , #devops, #tamil_devops, #devops_in_tamil, #jenkins_in_tamil,
#automation_in_tamil,#tamil_tut_era, #it_automation_in_tamil,
#automation,
#jenkins #jenkins_in_tamil #jenkins_pipeline #tamiltutera #jenkins_jobs_in_tamil #jenkins_with_slack #slack_notifications_from_jenkins #slack


Content

0 -> Hi guys, welcome to Tamil Tutera
2 -> Today we are going to see how to send slack notifications with
6.8 -> Jenkins in Tamil
8 -> So we are going to see how to send slack notifications with Jenkins
14 -> This video is a full on full demo session, so I hope this video
17.684 -> will be useful for you
19 -> So don't miss it, let's get into the demo
22 -> So why do we need slack notifications? As you know, we trigger
28 -> a lot of jobs in Jenkins
31 -> So you can log in to check if the Jenkins job is successful or
35.083 -> not, what is the output and what is the failure
38 -> So if you integrate the jobs with slack, you can check if the
46.667 -> notifications are successful or not
50 -> You can monitor the slack from the chat and check the status
57 -> You can easily manage the status of the jobs, when they are running,
62.778 -> when they are finished etc
65 -> So let's see how to integrate the basics and how to send notifications
71 -> So first we are going to access api.slack.com.apps
82 -> So we are going to create an application, if you have slack,
88 -> you can log in to your account and type api.slack.com.apps
93 -> So you will see a page like this, as of now, when I upload a
98.357 -> video, this page will be there, maybe in future they will modify
102.643 -> it
103 -> So the create an app URL will be different
106 -> So I am going to create a new app
110 -> So from scratch, I am going to give the app name
115 -> So I am going to give the app name as Tamil2Tera Jenkins
123 -> So it will be like watching a video related to Jenkins
126 -> So I am going to create a workspace as Tamil2Tera
130 -> So I am going to give the create an app
133 -> So the app is created, you can see there are many hooks
138 -> If you want OAuth, AP authentication, webhooks, bots, you can
147.375 -> create all these from this page
153 -> So what I am going to do initially is
155 -> So we are going to define OAuth permissions first
160 -> So what they will define is bot token stops
164 -> So we are going to add all the scopes in the bot
170 -> So what we are going to do is
175 -> Go to add an auth scope
178 -> So if you don't know what to add in the default scope, you can
184.533 -> do
185 -> So there is a plugin.jenkins.io.slack
191 -> So there is a full documentation, you can use this to configure
195.615 -> everything
196 -> So you can see, all the configurations I have done are given
200.286 -> in this
201 -> So you can use this
203 -> So what I am going to do is, I am going to give chat with right,
207.444 -> files right
208 -> So I am giving each scope, so chat right
212 -> And then
214 -> Chat right customization
219 -> Next is files right
225 -> So I am giving files right
227 -> Next is reactions right, users read
230 -> So you can add a smiley if you want
234 -> Reactions right
236 -> And then users
239 -> Users colon read
245 -> So users read
247 -> Next is users read email
250 -> So chat right, chat right customization, files right, reactions
256 -> right, users read, users read email
260 -> So we have added 5 scopes
263 -> So what we are going to do next is
267 -> You have to generate the ap token
270 -> So to generate the ap token, you have to install 2 workspaces
276 -> So TamilTelera Jenkins will create a workspace
281 -> So how it will be viewed is
283 -> What permission you are going to add, who you are going to give
286.25 -> group permission, all that will be asked
288 -> So I am giving allow all and saving
291 -> So this will be a success
293 -> So after success, the bot user auth token will be generated
298 -> So you can copy this token
301 -> Save it
307 -> I am giving slack bot auth token
315 -> So we have saved it
317 -> So what we are going to do next is
319 -> We are going to log in to that workspace
323 -> So once you log in, you can view all the scopes
328 -> So I am copying and pasting the auth token
342 -> So you can log in to slack
347 -> So my slack application is TamilTelera Jenkins
354 -> So what you are going to do is
358 -> You can add this app in general
360 -> So how to add in general is
362 -> Right click and go to view app details
368 -> So add this app to the general channel
371 -> So you can give general
373 -> So it will be added in general
376 -> So close this
378 -> So you can view all the messages through this app
387 -> So let's see how to access this
390 -> So TamilTelera Jenkins has added in general
397 -> So it will show you the status
401 -> Who is adding, who added, who added, where did they add
405 -> You can view all the details
408 -> So what we are going to do next is
410 -> We are going to go to Jenkins
413 -> So I am going to install manage Jenkins
419 -> So I am going to install the Slack notification plugin
431 -> So I am going to search Slack in the available
436 -> So first Slack notification is shown
438 -> So we are going to install this
441 -> So I am going to download
446 -> So once you install it, Jenkins will restart
475 -> So let's refresh and see if it is restarted
493 -> So it is restarted
499 -> So now we are going to configure in Jenkins
505 -> So go to manage Jenkins
507 -> So go to configure system
510 -> So in the last, there is Slack configuration
512 -> So in this Slack configuration, you have to add the token you
518.462 -> copied
519 -> So here is the Slack notification
522 -> So I have already created this Slack bot token
525 -> So you can create it new
529 -> So how to create it, go to Slack bot
533 -> So you can use the secret text you have
540 -> So I am going to copy and paste the secret text
546 -> So Slack notification token
557 -> So you can use this token ID in the description
561 -> So I am going to use Slack notification token
564 -> So I am going to add it
567 -> So go to Slack notification token
569 -> So you can add it as default channel member ID
576 -> So you have to check the custom Slack bot user
584 -> So if you can't check it, check it
588 -> So you can give the user name or icon
594 -> So I have given everything
597 -> So now I am going to test connection
600 -> you will get the message
602 -> success
604 -> now i will go to
606 -> you can see the message
608 -> by opening slack
610 -> now i am in slack
612 -> plugins you are all set
614 -> this is the ip address
616 -> test connection is success
618 -> now next
620 -> i will apply this
622 -> and save it
624 -> now
626 -> how can you
628 -> trigger a job
630 -> now i will
632 -> create a new pipeline job
634 -> you can
636 -> create a pipeline job
638 -> in this
640 -> pipeline
642 -> this is a simple
644 -> code
646 -> in this
650 -> slack
652 -> notification
654 -> i will give it
656 -> slack notification
658 -> pipeline job
660 -> we are going to
662 -> add a simple slack pipeline script
664 -> in this pipeline script
666 -> pipeline
668 -> pipeline
670 -> agent any
672 -> this is not required
674 -> agent any
676 -> stages
678 -> in stages
680 -> slack
682 -> so
684 -> slack
688 -> slack send message
690 -> slack send
692 -> slack send
694 -> message
696 -> test message
698 -> test message
700 -> test message
702 -> from tamil to terra
704 -> from tamil to terra
706 -> i will save it
708 -> and execute it
722 -> ok, this is success
724 -> now go to console output
726 -> send pipeline running
728 -> everything is success
730 -> you can go here
732 -> and open it
734 -> your slack
736 -> slack
738 -> app
740 -> text message from tamil to terra
742 -> here i added
744 -> pipeline script
746 -> it is here
748 -> now
750 -> you can add any script
752 -> you can add any script
754 -> you can add any script
758 -> i don't know
760 -> syntax
762 -> pipeline
764 -> pipeline
766 -> pipeline
768 -> pipeline
770 -> pipeline syntax
772 -> slack
774 -> slack upload
776 -> send message
778 -> you can create
780 -> slack send message
782 -> in which channel
784 -> i give general
786 -> here
788 -> send
790 -> send message
792 -> from
794 -> slack plugin
796 -> i give it
810 -> you can add
812 -> any other script
814 -> credential is
816 -> slackbot notify
818 -> custom slackbot
820 -> slackbot user
822 -> generate pipeline
826 -> copy and paste
828 -> generate pipeline script
830 -> copy and paste
842 -> copy and paste
844 -> you can redefine
846 -> in the same job
848 -> in the same job
850 -> slack with Jenkins
852 -> slack with Jenkins
858 -> slack notifications
860 -> slack notifications
862 -> slack send message
864 -> i am adding all the options
866 -> bot user
868 -> channel general
870 -> message
872 -> token id
874 -> save it
876 -> execute
884 -> successfully executed
886 -> check it
888 -> slack images
890 -> send message
892 -> from slack plugin
894 -> check it
896 -> check it
898 -> check it
900 -> check it
902 -> check it
904 -> check it
906 -> check it
908 -> check it
910 -> check it
912 -> check it
914 -> check it
916 -> check it
918 -> check it
920 -> check it
922 -> check it
924 -> check it
926 -> check it
928 -> check it
930 -> check it [Powered By Dubverse]

Source: https://www.youtube.com/watch?v=BdxCAjs4QKs