Code Monkey home page Code Monkey logo

jenkins-failure-suggestion's Introduction

jenkins-failure-suggestion

Get the log of the error, then suggest solution to user.

Motivation

In normal businesses, identity management and access management are not important, so Jenkins is only used for building/deploying. In financial sector, IAM has to conform to audit standard. This leads to the fragmentation of three areas:

  • Identity
  • Authentication
  • Authorization This makes it hard to onboard application teams to Jenkins. Besides, engineers rarely touch DevOps tools. Quite a few principals do not know how to debug. This system aims to fix this.

The gist

  • Put a try-catch around the DSL. This will capture the log and send it to the reporting site.
  • A pattern matcher on the reporting site will do a regex match and suggest solutions. This can be replaced by an AI/learning algorithm as needed.

Design

sequenceDiagram
participant Stage
participant DSL
participant Aggregation
participant Suggester
participant Reporting

Stage ->> DSL: Call DSL step
opt if fail
	DSL ->> Aggregation: capture the error and build info send to log aggregator
	Suggester ->> Aggregation: fetch the error and do regex match
	Aggregation -->> Suggester: provide log
	Suggester -x Reporting: give failure cause analysis and send log
end
opt if succeed
	DSL ->> Stage: Continue as usual
end
Loading

jenkins-failure-suggestion's People

Contributors

ecigar13 avatar

Watchers

 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.