GithubHelp home page GithubHelp logo

djiwandou / sonarqube-slack-pusher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andnyb/sonarqube-slack-pusher

0.0 0.0 0.0 175 KB

Jenkins plugin for pushing Sonar build statuses on a Slack channel.

License: MIT License

Java 96.19% HTML 3.81%

sonarqube-slack-pusher's Introduction

sonarqube-slack-pusher

Build Status Jenkins plugin for pushing SonarQube projects quality gate status to a given Slack channel.

The plugin runs as a post build action and runs no matter the outcome of the job. The plugin makes an API request to a SonarQube server instance to get the quality status for a given SonarQube project. If the SonarQube project has a quality gate defined the plugin will report to a configured Slack channel if there are any 'failed' quality gate checks.

For a failed quality gate it would look like this:

Notification example from Slack channel

Configuration

Parameter Usage Examples
Slack hook This is the hook into a given channel and it is generated by the Slack incoming Webhook extension. Just paste the full URL here. https://hooks.slack.com/services/12/34/56
Other channel The default channel can be overridden by entering an alternative channel name. 'team-spawn'
SonarQube root URL This is the root of the remote SonarQube installation. The URL is the base for the metrics query and linkage to jobs. sonar.mycompany.com:9000
SonarQube job name The name the project has in SonarQube minus any specific branch post-fix. Case sensitive. 'super-awesome-service'
Branch name The name the project has in SonarQube is usually the job name post-pended with a branch name e.g. 'JobName BranchName'. Case sensitive. 'bugfixBranch'
User name User name if you need to do basic authentication against the SonarQube server. 'username'
User password If you need to authenticate against the SonarQube server. '********'

sonarqube-slack-pusher's People

Contributors

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