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

Warnings count incorrect for MSBuild

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • warnings-plugin
    • None
    • Platform: All, OS: All

    Description

      I'm consistently finding the Warnings plugin providing the incorrect warning
      count. For the build that yielded the soon-to-be-attached console, the "Warnings
      Summary" indicated:

      Total: 6
      High Priority: 0
      Normal Priority: 13
      Low Priority: 0

      The total does not reflect the sum. The "Details" show only 6 warnings:

      AccountController.cs 1
      Authentication.cs 1
      CartController.cs 1
      OrderService.svc.cs 1
      SecurityService.cs 1
      UserServiceAsync.svc.cs 1

      Attachments

        Activity

          trinition trinition created issue -
          trinition trinition added a comment -

          Created an attachment (id=907)
          Console output that tielded the quoted warning counts

          trinition trinition added a comment - Created an attachment (id=907) Console output that tielded the quoted warning counts

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/ParserRegistry.java
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/RegexpDocumentParser.java
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/RegexpLineParser.java
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/RegexpParser.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/AntEclipseParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/AntJavacParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/BuckminsterParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/ErlcParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/GccParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/GnatParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/HpiCompileParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/IarParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/IntelCParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/InvalidsParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/JavaDocParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/MavenParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/MsBuildParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/ParserRegistryTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/ParserTester.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/SunCParserTest.java
          trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/issue4472.txt
          trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/taskname.txt
          http://fisheye4.cenqua.com/changelog/hudson/?cs=22076
          Log:
          [FIXED JENKINS-4472] Always use a set when collecting warnings.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/ParserRegistry.java trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/RegexpDocumentParser.java trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/RegexpLineParser.java trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/RegexpParser.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/AntEclipseParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/AntJavacParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/BuckminsterParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/ErlcParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/GccParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/GnatParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/HpiCompileParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/IarParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/IntelCParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/InvalidsParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/JavaDocParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/MavenParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/MsBuildParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/ParserRegistryTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/ParserTester.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/SunCParserTest.java trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/issue4472.txt trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/taskname.txt http://fisheye4.cenqua.com/changelog/hudson/?cs=22076 Log: [FIXED JENKINS-4472] Always use a set when collecting warnings.
          scm_issue_link SCM/JIRA link daemon made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 134545 ] JNJira + In-Review [ 202918 ]

          People

            drulli Ulli Hafner
            trinition trinition
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: