Hello World from OSS Silicon Valley


HowToUse/Jenkins/1.594/Cobertura


_ Prerequisite

_ Install&Setup

Step.1
Click "Manage Jenkis" -> "Manage Plugins" link.
Install_fig1.png
Step.2
Click "Available" tab. Select "Cobertura Plugins".
Install_fig2.png
Step.3
Click "Configuration" link of target item, select "Publish Cobertura Coverage Report" from "Add post-build action" and set as follows.
ItemDescriptionExample
goalAdd "checkstyle" as goal"checkstyle:checkstyle"
ItemDescriptionExample
Cobertura xml report patternspecify the path to cobertura report"trunk/sample/target/site/cobertura/coverage.xml"

_ HowToUse

Step.1
Execute build and you can see test coverage graph.
Result_fig1.png

_ Author

S.Yatsuzuka