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

Build health computation with several thresholds

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • analysis-core-plugin
    • None
    • Platform: All, OS: All

    Description

      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

      Attachments

        Issue Links

          Activity

            paskalad paskalad created issue -
            drulli Ulli Hafner made changes -
            Field Original Value New Value
            Priority Major [ 3 ] Minor [ 4 ]
            drulli Ulli Hafner made changes -
            Component/s checkstyle [ 15512 ]
            Component/s dry [ 15591 ]
            Component/s findbugs [ 15496 ]
            Component/s pmd [ 15511 ]
            Component/s tasks-plugin [ 15498 ]
            drulli Ulli Hafner made changes -
            Link This issue is duplicated by JENKINS-5967 [ JENKINS-5967 ]
            drulli Ulli Hafner made changes -
            Link This issue is duplicated by JENKINS-5966 [ JENKINS-5966 ]
            drulli Ulli Hafner made changes -
            Link This issue is duplicated by JENKINS-5965 [ JENKINS-5965 ]
            drulli Ulli Hafner made changes -
            Link This issue is duplicated by JENKINS-5963 [ JENKINS-5963 ]
            uweplonus uweplonus made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            uweplonus uweplonus made changes -
            Link This issue is duplicated by JENKINS-5964 [ JENKINS-5964 ]
            drulli Ulli Hafner made changes -
            Component/s analysis-core [ 15709 ]
            Component/s findbugs [ 15496 ]
            Component/s tasks-plugin [ 15498 ]
            Component/s pmd [ 15511 ]
            Component/s checkstyle [ 15512 ]
            Component/s warnings [ 15513 ]
            Component/s dry [ 15591 ]
            drulli Ulli Hafner made changes -
            Link This issue is duplicated by JENKINS-3024 [ JENKINS-3024 ]
            drulli Ulli Hafner made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 133634 ] JNJira + In-Review [ 186662 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: