Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-75487

limit number of "did you forget the def keyword" warnings to avoid OOM

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • workflow-cps-plugin
    • None

      I've meanwhile experienced several pipelines that almost lead to crashing the controller after introducing the "def keyword" warning. When this warning is triggered in tightly looped groovy code, it easily increases the log size by hundreds of MB.

      Would it be possible to only add that warning at most a fixed number of times (like 10.000) to avoid the log size getting out of control?

      This is not meant as an excuse to not fix these pipelines. It's just that some teams basically had issues to even investigate the problem because of their huge logs now.

            Unassigned Unassigned
            bananeweizen Michael Keppler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: