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

Support Build Management Tools - Thresholding

    XMLWordPrintable

Details

    Description

      Add post build management tools, this will allow for thresholding to determine if a build is flagges as passed, failed or unstable.

      • Each alert severity (high, medium, low, info) will have a user specified value associated to it.
      • There will be a threshold for each alert severity (high, medium, low, info), if the threshold for any if passed then the build can be flagged as failed or unstable.
      • There will be a culmulative threshold which will be the sum of all alerts raised, if this is passed then the build can be flagged as failed or unstable.

      Attachments

        Activity

          ngola_boy lenaic frank added a comment - - edited

          This issue look interesting for me, i am looking how to implement it.
          If i have understand what you want to do.
          For example.

          • default severity could be
            high -> 5 , medium ->3 , low ->1, info ->0
          • threshold for each alert define by the user
            high -> 0 , medium ->15, low ->10, info ->0
          • culmulative threshold -> 20

          When we run a scan, depending on the number of alerts in the report
          we find the culmulative cost and for each level of alert.
          we compare to the threshold and flagged the build as passed, failed or unstable.

          ngola_boy lenaic frank added a comment - - edited This issue look interesting for me, i am looking how to implement it. If i have understand what you want to do. For example. default severity could be high -> 5 , medium ->3 , low ->1, info ->0 threshold for each alert define by the user high -> 0 , medium ->15, low ->10, info ->0 culmulative threshold -> 20 When we run a scan, depending on the number of alerts in the report we find the culmulative cost and for each level of alert. we compare to the threshold and flagged the build as passed , failed or unstable .

          I've attached an image with a more detailed explanation. Thank you for the support. If you have any questions please feel free to get in touch with me, also if you have any suggestions

          jordangs Goran Sarenkapa added a comment - I've attached an image with a more detailed explanation. Thank you for the support. If you have any questions please feel free to get in touch with me, also if you have any suggestions
          ngola_boy lenaic frank added a comment -

          thanks for your return.
          I'm on another project actually, who occupies me now.
          I will take a look at this feature, as soon as possible

          ngola_boy lenaic frank added a comment - thanks for your return. I'm on another project actually, who occupies me now. I will take a look at this feature, as soon as possible
          ngola_boy lenaic frank added a comment -

          Any idea on how to find the number of each alert severity.
          without parsing the report.
          i have seen there is a class alertsfile, and a method getAlertsFromFile, may be if i count alrte form that?
          i am almost at the end of the issue. it 's the only think i have not done yet

          ngola_boy lenaic frank added a comment - Any idea on how to find the number of each alert severity. without parsing the report. i have seen there is a class alertsfile, and a method getAlertsFromFile, may be if i count alrte form that? i am almost at the end of the issue. it 's the only think i have not done yet
          jordangs Goran Sarenkapa added a comment - Referencing Pull Request: https://github.com/jenkinsci/zap-plugin/pull/4
          arlsanjavaid Arslan javaid added a comment - - edited

          when this will be available? Any progress? Furthermore, if no one is working on it. I would love to work on this.

          arlsanjavaid Arslan javaid added a comment - - edited when this will be available? Any progress? Furthermore, if no one is working on it. I would love to work on this.

          People

            jordangs Goran Sarenkapa
            jordangs Goran Sarenkapa
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: