Copyright ServiceNow, Inc. 2022. All rights reserved. This package is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.
The Lightstep Incident Response plugin for Jenkins when activated will trigger alerts to Lightstep Incident Response in response to build status of a Jenkins FreeStyle job.
- Trigger alerts in LIR on build statuses failure, unstable and aborted.
- Associate priority to alerts on build statuses.
- Automatically resolve alerts when build status is success.
- Jenkins 2.319.1+ instance.
- Lightstep Incident Response account. Please click here to get a free trial account.
Download Lightstep Incident Response Plugin from Jenkins Update Center. Restart jenkins to see the changes.
Select 'Send alerts to Lightstep Incident Response' from Post-Build Actions of your FreeStyle Job. You need to copy the Webhook URL from LIR application in Webhook URL field. Select the build statuses you want to get alerts in LIR. Select the Priority for the alert, corresponding to the build status. If you want to let open alerts in LIR to get Closed when build status is Success, select 'Resolve on Back-To-Normal'.
{
"severity": "low",
"buildNum": 9999999998,
"buildName": "#9999999998",
"buildTime": "Tue Mar 08 15:14:07 IST 2022",
"buildId": "2022-03-08_15-14-07",
"buildStatusURL": "blue.png",
"buildUrl": "****/job/[Alerting]:JenkinsSampleAlert/9999999998/",
"jobName": "[Alerting]: Jenkins Sample Alert",
"buildStatusSummary": "hudson.model.Run$Summary@d4c513f",
"buildDuration": "34 ms",
"status": "failure"
}
MIT