Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

SonarQube plugin allowing to import ShellCheck results to be imported in SonarQube.

License

Notifications You must be signed in to change notification settings

cnescatlab/sonar-shellcheck-plugin

Repository files navigation

sonar-shellcheck - A plugin for SonarQube

Build Status SonarQube Quality Gate SonarQube Bugs SonarQube Coverage SonarQube Technical Debt

SonarQube plugin for the code analysis tool: ShellCheck.

SonarQube is an open platform to manage code quality. This plugin add the ability to auto-launch ShellCheck on analysis and gather results from analysis.

This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

You can get ShellCheck on GitHub: koalaman/shellcheck.

Quickstart

  • Setup a SonarQube instance
  • Install ShellCheck
    • Centos : ̀ yum install shellcheck`
    • Debian : apt install shellcheck
    • Otherwise, make an alias to the shellcheck executer named "shellcheck"
  • Install sonar shellcheck plugin by putting it into the ̀sonarqube/extensions/plugins` folder of SonarQube.
  • On Sonarqube, in the menu "Administration > Shellcheck" enable autolaunch
  • Run an analysis

How to contribute

If you experienced a problem with the plugin please open an issue. Inside this issue please explain us how to reproduce this issue and paste the log.

If you want to do a PR, please put inside of it the reason of this pull request. If this pull request fix an issue please insert the number of the issue or explain inside of the PR how to reproduce this issue.

Feedback and Support

Contact : [email protected]

Bugs and Feature requests: https://github.com/lequal/sonar-shellcheck-plugin/issues

License

Licensed under the GNU General Public License, Version 3.0

Releases

No releases published

Packages

No packages published

Languages