Code Monkey home page Code Monkey logo

lightstep-incident-response-plugin's Introduction

This plugin is deprecated and is no longer in use as Lightstep Incident Response application reached its end of life.


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.

Lightstep Incident Response Plugin for Jenkins

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.

Features

  • 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.

Prerequisites

  1. Jenkins 2.319.1+ instance.
  2. Lightstep Incident Response account. Please click here to get a free trial account.

Installation

Download Lightstep Incident Response Plugin from Jenkins Update Center. Restart jenkins to see the changes.

Configuration

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'.

LIR

Sample Payload

{
  "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"
}

License

MIT

Configuration Documentation from Lightstep Incident Response

Documentation

lightstep-incident-response-plugin's People

Contributors

priyajagyasi01 avatar sn-priya-jagyasi avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.