Hello World from OSS Silicon Valley
HowToUse/Jenkins/1.594/CheckStyle
_ Prerequisite
- Jenkins (You can refer HowToUse/Jenkins/1.594)
- Maven (You can refer HowToUse/Maven/3.2)
- Maven CheckStyle plugin (You can refer HowToUse/Maven/3.2/CheckStyle)
_ Install&Setup
- Step.1
- Click "Manage Jenkins" -> "Manage Plugins" link.
- Step.2
- Click "Available" tab. Select "CheckStyle Plugins". Then install plugins and reboot Jenkins after installation.
- Step.3
- Click "Configuration" link of target item, select "Publish Checkstyle analysis" from "Add post-build action" and set as follows.
Item | Description | Example |
goal | Add "checkstyle" as goal | "checkstyle:checkstyle" |
Item | Description | Example |
Checkstyle results | specify the path to checkstyle results file | "trunk/sample/target/checkstyle-result.xml" |
_ HowToUse
- Step.1
- Execute build and you can see test coverage graph.
_ Author
S.Yatsuzuka
Attach file: Result_fig1.png 185 download
[Information]
Result_fig2.png 183 download
[Information]
Install_fig1.png 182 download
[Information]
Install_fig2.png 101 download
[Information]
Last-modified: 2015-08-17 (Mon) 02:41:34 (3146d)