Front page
List of pages
Search
Recent changes
Help
Hello World from OSS Silicon Valley
HowToUse/Jenkins/1.594/Cobertura
List of Backups
View the
diff
.
View the
diff current
.
View the
source
.
Go to
HowToUse/Jenkins/1.594/Cobertura
.
1 (2014-12-20 (Sat) 06:15:36)
Prerequisite
Install&Setup
HowToUse
Author
_
Prerequisite
Jenkins (You can refer
HowToUse/Jenkins/1.594
)
Maven (You can refer
HowToUse/Maven/3.2
)
↑
_
Install&Setup
Step.1
Click "Manage Jenkis" -> "Manage Plugins" link.
Step.2
Click "Available" tab. Select "Cobertura Plugins".
Step.3
Click "Configuration" link of target item, select "Publish Cobertura Coverage Report" from "Add post-build action" and set as follows.
Item
Description
Example
goal
Add "checkstyle" as goal
"checkstyle:checkstyle"
Item
Description
Example
Cobertura xml report pattern
specify the path to cobertura report
"trunk/sample/target/site/cobertura/coverage.xml"
↑
_
HowToUse
Step.1
Execute build and you can see test coverage graph.
↑
_
Author
S.Yatsuzuka