What if the first build on a branch were run without calculating warnings
(since you intend to ignore warnings from the first build, you could choose
not to compute those warnings and not to report them.

After first build is complete, reconfigure the job (Jenkins UI or in the
Jenkinsfile if Pipeline) to report warnings.

Mark Waite

On Thu, Mar 29, 2018 at 12:26 PM Dan <daniel.faie...@remcom.com> wrote:

> Jenkins uses a trend graph to display things like failed unit tests or
> compilation warnings as a function of build number. Is there a way to
> suppress only the first build OR to limit the height of the y-axis?
>
> *My company's workflow*
> - create a copy of a Jenkins job for your particular branch
> - Build the branch without changes. This gives a baseline for the # of
> warnings in the code (it has very old code, so there are a LOT)
> - The branch then automatically builds daily. New warnings introduced by
> the developer show up in the Trend Graph.
>
> The Trend Graph is configured to show only new or fixed warnings.
> The problem is that the 1st build introduces a ton of "new" warnings. This
> pushes the +Y-axis max value to >1000. Any warnings fixed/introduced after
> that are not visible.
>
> *Solution*
> If we could somehow suppress showing just that first build, while still
> showing all subsequent builds, this would be fixed. Or, if the +Y-axis
> could be limited to show numbers from 0-100, this would be fixed.
>
> Is this possible?
>
> --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/9449eb64-eb32-4d86-ab8f-ace4a11ff4a4%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/9449eb64-eb32-4d86-ab8f-ace4a11ff4a4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGfLMfX6P_ampCegh1aKTs5uU%3D9Lt67Ag97fQApE%2BaheQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to