o***@gmail.com
2018-10-08 17:29:51 UTC
I'm having troubles with configuring Jacoco Jenkins plugin.
There is a job which validates GitHub pull requests. This job is using Jacoco plugin for coverage reporting. The goal is to mark the build as Unstable if the coverage drops. I've set the health thresholds as this:
Change build status according to thresholds: CHECKED
SUNNY: Instructions=100%, Branch=100%, Complexity=100%, Line=100%, Method=100%, Class=100%
STORMY CLOUD: Instructions=91%, Branch=77%, Complexity=80%, Line=90%, Method=91%, Class=98%
I expected that with this configuration all builds with coverage above the min (stormy cloud) will be SUCCESSFUL, and all builds with coverage below the min will be UNSTABLE.
However, all builds with coverage between min and max are unstable now. For example, if the Instruction is 92 the build will become yellow even though the code quality has improved.
Could anyone advise me on how to properly configure this plugin for thresholds? There is not enough information on this online.
Thanks
There is a job which validates GitHub pull requests. This job is using Jacoco plugin for coverage reporting. The goal is to mark the build as Unstable if the coverage drops. I've set the health thresholds as this:
Change build status according to thresholds: CHECKED
SUNNY: Instructions=100%, Branch=100%, Complexity=100%, Line=100%, Method=100%, Class=100%
STORMY CLOUD: Instructions=91%, Branch=77%, Complexity=80%, Line=90%, Method=91%, Class=98%
I expected that with this configuration all builds with coverage above the min (stormy cloud) will be SUCCESSFUL, and all builds with coverage below the min will be UNSTABLE.
However, all builds with coverage between min and max are unstable now. For example, if the Instruction is 92 the build will become yellow even though the code quality has improved.
Could anyone advise me on how to properly configure this plugin for thresholds? There is not enough information on this online.
Thanks
--
You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/4294a613-03a0-4c7a-96bf-e17e7fa8974d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/4294a613-03a0-4c7a-96bf-e17e7fa8974d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.