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.
- 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
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.
Contact : [email protected]
Bugs and Feature requests: https://github.com/lequal/sonar-shellcheck-plugin/issues
Licensed under the GNU General Public License, Version 3.0