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

BZ 96455 - Jenkins Coverity Plugin has arbitrary defect limit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • coverity-plugin
    • None

      I have a single Coverity Project / Stream which contains approx. 6200 defects (most of which are now in either an Ignore or Fixed state). I compile and perform defect analysis using my own build scripts (I do not utilize the coverity plugin to perform defect analysis, only defect result reporting). When my jenkins project which is utilizing the Coverity plugin goes to pull the list of defects out from my coverity project/strem to assess against the filters I've defined in Jenkins it only pulls a maximum of 3000 defects out. This is preventing my automated continuous integration process from being able to recognize when new defects are introduced into the code base. I need it to pull out all 6200+ defects and then assess them against my defined filters. It would seem as though it pulls the oldest 3000 from the project / datastream as well.

      After doing a little digging I found the very old jenkins issue JENKINS-20670 which seems to have been back when the limit was set to 100, and I also found in the patch notes the solution for BZ 60322 which happened to up the limit to 3000. I am thinking the error resides in the hard coded 3000 in the ****ToolHandler.java files located in src/main/java/jenkins/plugins/coverity/analysis but I may be mistaken.

            kdang Ken Dang
            mpotterton Matt Potterton
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: