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". Then install plugins and reboot Jenkins after installation.
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 "cobertura" as goal"cobertura:cobertura"
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

 
Attach file: fileResult_fig1.png 233 download [Information] fileInstall_fig2.png 222 download [Information] fileInstall_fig1.png 224 download [Information]
Last-modified: 2015-08-17 (Mon) 02:41:34 (3168d)