Wiki
Clone wikiatlassian-bamboo-checkstyle-plugin / Home
Atlassian Bamboo Checkstyle plugin
This is an Atlassian Bamboo plugin, which provides the ability to view Checkstyle and PHP_CodeSniffer results.
Installation
Visit "View Checkstyle/CodeSniffer" plugin at Atlassian Marketplace.
Checkstyle view
This plugin lists your results from Checkstyle, or PHP_CodeSniffer.
Tools with equal XML-output are covered, too.
-
JSHint (see "Flags" -> "--reporter" documentation, jshint --reporter=checkstyle myfile.js)
-
ESLint (ESLint formatters include checkstyle)
-
scss-lint (scss-lint formatters include checkstyle, see scss-lint formatter documentation)
Screenshots
Configuration
After installing this plugin, you have a new Bamboo-task Process Checkstyle result.
Add this task to your job-tasks:
If your Bamboo-job was already producing target/checkstyle-result.xml (this file-path is configurable at task-setting), you are done with configuration.
If not, add another task, which runs before "Process Checkstyle result". This other task has to produce Checkstyle XML output.
Here is a Maven-example:
mvn clean checkstyle:checkstyle
"Process Checkstyle result" task configuration options
Option | Description | Required |
---|---|---|
Path to Checkstyle XML result file | Content as name suggests. Path is relative to working directory | yes, but is prefilled |
Updated