Violation Comments to GitHub1.37Minimum Jenkins requirement: 1.609.3ID: violation-comments-to-github
Last released: 4 days ago
This plugin uses Violation Comments to GitHub Lib. It will find report files from static code analysis and comment GitHub pull requests with the content.
You can have a look at violations-test to see what the result may look like.
It supports same formats as Violations Lib:
- RubyCop with `rubycop -f clang file.rb`
- GoVet Same format as GoLint.
- Lint A common XML format, used by different linters.
- PHPMD with `phpmd api.php xml ruleset.xml`
Some formats may vary. Examples of the exact supported formats can be found here.
Missing a format? Open an issue here!
There is also:
You will need to the *pull request id* for the pull request that was built. You may want to have a look at GitHub Pull Request Builder Plugin, it provides the environment variable ghprbPullId.
When installed, a post build action will be available.
The pull request will be commented like this.