状况:这个异常jenkins job build黄色提示
原因就是加入了 这个打钩如下
去掉就行了. 会如图1 和 min max值比较 产生unstable状态
[JaCoCo plugin] Thresholds: JacocoHealthReportThresholds [minClass=0, maxClass=60, minMethod=0, maxMethod=60, minLine=0, maxLine=0, minBranch=0, maxBranch=0, minInstruction=0, maxInstruction=0, minComplexity=0, maxComplexity=0]
[JaCoCo plugin] Publishing the results..
[JaCoCo plugin] Loading packages..
[JaCoCo plugin] Done.
[JaCoCo plugin] Overall coverage: class: 0, method: 0, line: 0, branch: 0, instruction: 0
[JaCoCo plugin] Health thresholds: JacocoHealthReportThresholds [minClass=0, maxClass=60, minMethod=0, maxMethod=60, minLine=0, maxLine=0, minBranch=0, maxBranch=0, minInstruction=0, maxInstruction=0, minComplexity=0, maxComplexity=0]
[JaCoCo plugin] Apply Min/Max thresholds result: UNSTABLE
Build step 'Record JaCoCo coverage report' changed build result to UNSTABLE
Finished: UNSTABLE