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

Getting warning from "Maven HPI" when building job using ant

    XMLWordPrintable

Details

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

    Description

      Im getting warnings that belong to "maven hpi" when Iuilding the Mockito java
      project using ant. Scanning through the console log it shows that there should
      only be 10 javac warnings, but the warnings plugin report 17 warnings (7 for
      "Maven HPI plugin").

      Warnings: http://hudson.ramfelt.se/job/Mockito/112/console
      Console: http://hudson.ramfelt.se/job/Mockito/112/warningsResult/

      Ver: Warnings plugin 1.5
      Hudson: 1.223

      Side note, i also noticed that the File (second table) section has two
      StubbingWithThrowablesTest.java entries, my expectation would be that there
      should be one row with StubbingWithThrowablesTest.java and 14 warnings. (New bug
      or related to this one?)

      File ↓ Total
      BasicVerificationInOrderTest.java 1
      DescriptiveMessagesOnMisuseTest.java 1
      NoMoreInteractionsVerificationTest.java 1
      StubbingWithThrowablesTest.java 7
      StubbingWithThrowablesTest.java 7

      Attachments

        Activity

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/AntJavacParser.java
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/HpiCompileParser.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/HpiCompileParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/ParserRegistryTest.java
          trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/all.txt
          trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/issue2133.txt
          http://fisheye4.cenqua.com/changelog/hudson/?cs=11432
          Log:
          [FIXED JENKINS-2133] Improved regular expressions for ant and hpi compile messages.

          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/AntJavacParser.java trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/HpiCompileParser.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/HpiCompileParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/ParserRegistryTest.java trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/all.txt trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/issue2133.txt http://fisheye4.cenqua.com/changelog/hudson/?cs=11432 Log: [FIXED JENKINS-2133] Improved regular expressions for ant and hpi compile messages.
          jiai jiai added a comment -

          I isn't fixed, there is a coincidence with
          https://hudson.dev.java.net/issues/show_bug.cgi?id=2199

          jiai jiai added a comment - I isn't fixed, there is a coincidence with https://hudson.dev.java.net/issues/show_bug.cgi?id=2199
          drulli Ulli Hafner added a comment -

          Closed wrong issue.

          drulli Ulli Hafner added a comment - Closed wrong issue.

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/checkstyle/src/main/java/hudson/plugins/checkstyle/util/ParserResult.java
          trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/util/ParserResult.java
          trunk/hudson/plugins/pmd/src/main/java/hudson/plugins/pmd/util/ParserResult.java
          trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/util/ParserResult.java
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/ParserResult.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=11122
          Log:
          [FIXED JENKINS-2133] Fixed wrong module aggregation.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/checkstyle/src/main/java/hudson/plugins/checkstyle/util/ParserResult.java trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/util/ParserResult.java trunk/hudson/plugins/pmd/src/main/java/hudson/plugins/pmd/util/ParserResult.java trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/util/ParserResult.java trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/ParserResult.java http://fisheye4.cenqua.com/changelog/hudson/?cs=11122 Log: [FIXED JENKINS-2133] Fixed wrong module aggregation.

          People

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

            Dates

              Created:
              Updated:
              Resolved: