Jenkins Integration

This document shows you how you can integrate Squadcast with the Jenkins build pipeline

This documentation will help you integrate Jenkins Build Job with Squadcast. With this, you will be able to bring in your build updates, such as, success and failure statuses as incidents on Squadcast.

Integrate with the Jenkins Plugin

  • Move over to the relevant service. This service will essentially bring in your build updates from Jenkins, that is, success/ failure and create it as an incident on Squadcast.

  • Now, click on the corresponding Alert Sources button.

Select Jenkins from Alert Source drop down and copy the Webhook URL shown.

  • Add a Post build task and run the following command in Script text box.

  • Replace the API URL here with the API Webhook URL you see on Squadcast for the created service.

  • Replace username and password with your Jenkins username and password.

curl https://raw.githubusercontent.com/SquadcastHub/Integration-scripts/master/jenkins/send-data-to-squadcast.py | python3 - --url *EnterSquadcastAPIURLHere* --username *EnterYourJenkinsUsername* --password *TypeYourJenkinsPassword*

Sample incident created in Squadcast-App