문제

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?

도움이 되었습니까?

해결책

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>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top