Question

I have Clover enabled in Bamboo, but the tester is failing because I don't have sufficient coverage.

I want to lower the passing coverage percent, but I don't see anywhere to set that.

How can I lower the passing coverage percentage in Bamboo?

Was it helpful?

Solution

You can specify in maven-clover2-plugin a configuration of targetPercentage. You can also specify excluded classes

<configuration>
  <targetPercentage>60%</targetPercentage>
    <excludes>
      <exclude> myPackage/AppConfig.java</exclude>
    </excludes>
</configuration>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top