In the past few years, we had not set the threshold for the low priority issue. But due to a reorganisation, we now wanted to enable email notification for the developers which checked in also for these low-priority issues of Findbugs.
Therefore we set the threshold such that every new low priority issue will result in an unstable build. So far so good.
But sometimes, these low priority issues are just ok and we do not want the build be unstable forever.
We would like that developers gain ONE email notification when the warning appeared the first time and not after every subsequent build.
Therefore I thought that unchecking the setting "Only use stable builds as reference" should result in exactly that. Every subsequent build should calculate the number of new warnings from the last build (also from an unstable) and not the last stable one.
Code changed in jenkins
User: Ulli Hafner
Path:
src/main/resources/util/thresholds.properties
src/main/resources/util/thresholds_de.properties
http://jenkins-ci.org/commit/analysis-core-plugin/c7d39361c6f38b4d93dbf502e616499cf942524b
Log:
[FIXED JENKINS-24289] Improved doc of stableReferenceBuilds.