Created
February 14, 2018 23:02
-
-
Save paulmthiebauth/9521d4ca7a16e03ceb2214e6d570acf8 to your computer and use it in GitHub Desktop.
Jenkins Rcov Publisher MetricTarget Syntax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #The snippet generator for RcovPublisher in Jenkins is incomplete. | |
| #When you add in metric values for desired coverage percentages, the generator doesnt provide the syntax. | |
| #Here it is served up on a silver platter. | |
| step([$class: 'RcovPublisher', reportDir: 'coverage/rcov', targets: [[$class: 'hudson.plugins.rubyMetrics.rcov.model.MetricTarget', metric: 'TOTAL_COVERAGE', healthy: 87, unhealthy: 86, unstable:85], [$class: 'hudson.plugins.rubyMetrics.rcov.model.MetricTarget', metric: 'CODE_COVERAGE', healthy: 87, unhealthy: 86, unstable: 85]]]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment