jenkins-job-builder/tests/publishers/fixtures/cloverphp002.yaml
Antoine Musso 28c5c1c93b cloverphp publisher
Capture code coverage reports from PHPUnit, requires the Jenkins Clover
PHP Plugin:
 https://wiki.jenkins-ci.org/display/JENKINS/Clover+PHP+Plugin

Note: whenever the healthy targets are left blank, the v0.3.3 plugin
will fill in default values which then appears in the configuration. I
have ported that in Jenkins Job Builder to ensure clean diff in the Job
Configuration History plugin.

Change-Id: I9010dee62611094840304cdc2e7317b058d6495a
2013-12-10 20:40:57 +00:00

18 lines
395 B
YAML

# Exercise all options with non defaults values
publishers:
- cloverphp:
xml-location: 'build/clover.xml'
html:
dir: 'html'
archive: false
metric-targets:
- healthy:
method: 80
statement: 90
- unhealthy:
method: 40
statement: 50
- failing:
method: 10
statement: 20