|
||||||||
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
[JIRA] (JENKINS-15037) Option to consider only stable builds when calculating new warnings
david.pars...@gmail.com (JIRA) Tue, 11 Sep 2012 01:51:54 -0700
- [JIRA] (JENKINS-15037) Option to consider ... david.pars...@gmail.com (JIRA)
- [JIRA] (JENKINS-15037) Option to cons... david.pars...@gmail.com (JIRA)
- [JIRA] (JENKINS-15037) Option to cons... ullrich.haf...@gmail.com (JIRA)
- [JIRA] (JENKINS-15037) Option to cons... ullrich.haf...@gmail.com (JIRA)
- [JIRA] (JENKINS-15037) Option to cons... david.pars...@gmail.com (JIRA)
- [JIRA] (JENKINS-15037) Option to cons... ullrich.haf...@gmail.com (JIRA)
- [JIRA] (JENKINS-15037) Option to cons... david.pars...@gmail.com (JIRA)
- [JIRA] (JENKINS-15037) Option to cons... david.pars...@gmail.com (JIRA)
- [JIRA] (JENKINS-15037) Option to cons... david.pars...@gmail.com (JIRA)
- [JIRA] (JENKINS-15037) Option to cons... david.pars...@gmail.com (JIRA)
- [JIRA] (JENKINS-15037) Option to cons... ullrich.haf...@gmail.com (JIRA)
- [JIRA] (JENKINS-15037) Option to cons... ullrich.haf...@gmail.com (JIRA)
- [JIRA] (JENKINS-15037) Option to cons... ullrich.haf...@gmail.com (JIRA)
- [JIRA] (JENKINS-15037) Option to cons... david.pars...@gmail.com (JIRA)
- [JIRA] (JENKINS-15037) Option to cons... david.pars...@gmail.com (JIRA)
- [JIRA] (JENKINS-15037) Option to cons... david.pars...@gmail.com (JIRA)
- [JIRA] (JENKINS-15037) Option to cons... ullrich.haf...@gmail.com (JIRA)
You have a good point! The first option might make more sense. I however came up with a case where this would cause a weird behavior. Consider this:
1. The system is configured to allow one new Checkstyle warning per commit (delta)
2. A build is green
3. The build becomes UNSTABLE (reason doesn't matter)
4. Given that only stable builds are reference builds, the Checkstyle would mark each build as unstable if the sum of new Checkstyle warnings added since the last stable is greater than one.
Maybe a more complicated rule is desirable: The only case where the reference build shouldn't be changed is when the build is unstable (for other reasons) and the number of warnings has decreased. In other words, don't allow the reference warning count to decrease when the build is unstable. Comments?