Is there a way to have Jenkins fail a job if there are new warnings for a Gerrit triggered build?
This would be a *fanastic* feature for *large* projects that can't be made warning free overnight. It would get a quality ratchet in place where warnings would reduce over time and no new warnings would be introduced. Sweet! The warnings plugin uses the last successful build as a reference build, but this will yield false positives for a job where builds are triggered by the Gerrit Trigger plugin. The problem with a job that is triggered by Gerrit is that it breaks the warnings plugin assumption that each build is a build of a commit *after* the previous build. The problem lies in the definition of "reference build" that the Warnings plugin uses: the last successful build. In the case of a Gerrit review, the warnings plugin should use the build of the tip of the branch that the Gerrit review is posted against as a reference build to compute new warnings. Thanks! Øyvind Harboe -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
