This automation scenario allows you to connect Jenkins and Slack
It can be build using Zapier, a no-code workflow automation tool. Zapier allows you to create automated bots using a simple drag-and-drop interface for non-technical users. This is a ready-made scenario, but it can be customized by adding more apps, actions, filters or branches.
Categories
Jenkins and Slack can also be integrated using automation tools other than zapier:
When this trigger fires in Jenkins
Catches job status notifications sent via the Notficiation Plugin
Then this action happens in Slack
Post a new message to a specific #channel you choose. Can also schedule a message for later.
This guide contains information on how to set up an automatic workflow that allows to Send Slack messages for new job status notifications on Jenkins.
Part I
First, we need to connect Jenkins and Slack to Zapier.
Create Zapier account.
Create Zapier account if you don't have one.
Connect Jenkins to Zapier.
Give Zapier access to your Jenkins account, using Jenkins credentials.
Connect Slack to Zapier.
Give Zapier access to your Slack account, using Slack credentials.
Part II
Next, we need to create a workflow automation scenario using graphical no-code web interface of Zapier.
Set up a Trigger action for Jenkins
Choose the following trigger: New Job Status Notification (Catches job status notifications sent via the Notficiation Plugin).
Then set up an Action for Slack
Choose this action: Send Channel Message (Post a new message to a specific #channel you choose. Can also schedule a message for later.).
Part III
Finally, we need to test this automation and publish it.
Customize data flow
Configure the data that is exchanged between Jenkins and Slack.
Test the workflow and turn it on for production use
Test your scenario and publish to production. Now you have an automatic workflow, that will Send Slack messages for new job status notifications on Jenkins!
New message in channels (instant)
Triggers when a new message is posted to a specific #channel you choose.
Triggers when you save a message.
Triggers when you click the "Push to Zapier" button from a message in Slack.
Triggers when a new Slack user is created / first joins your org.
Triggers when a username or highlight word is mentioned in a public #channel.
Catches job status notifications sent via the Notficiation Plugin
Triggers when a job status has been changed.
Jenkins is a powerful open-source automation server that enables developers to build, test, and deploy their software with ease. With its vast plugin support and ability to distribute tasks across multiple machines, Jenkins streamlines the delivery of any project.
Slack is the go-to platform for modern teams seeking seamless communication and collaboration. With everything in one easily searchable place, including channels, integrations, and tools, Slack keeps your team aligned and productive.
Zapier simplifies busy people's lives by automating web app data transfers, reducing tedious tasks, and allowing teams to collaborate effortlessly. With over 5,000 popular apps connected, it's never been easier to streamline your workflow.