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

Build health computation with several thresholds

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • analysis-core-plugin
    • None
    • Platform: All, OS: All

      Warnings plugin should be able to configure one health threshold per priority
      (HIGH, NORMAL, LOW).
      The goal is, for example, to be able to fail the build when an amount of HIGH
      priority warnings are detected and set to instable the build when an amount of
      NORMAL priority warnings are detected.

      A simple sketch could be:
      Threshold1 is set-up by user for HIGH priority warnings
      Threshold2 is set-up by user for NORMAL priority warnings
      Threshold3 is set-up by user for LOW priority warnings
      If nb of High Priority > Threshold1 => Build Failed
      else if nb of Normal priority > Threshold2 => Build Unstable
      else if nb of Low priority > Threshold3 => Build Unstable
      else => Build Success

            drulli Ulli Hafner
            paskalad paskalad
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: