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

Msbuild parser does not recognize linker errors

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • warnings-plugin
    • None
    • Platform: All, OS: All

      The MSBUILD parser of the warnings plugin seems not to recognize linker errors.
      Below you'll find a snipplet of a build log that contains a linker error and
      that has not made it into the warnings report:
      ...
      [exec] 23>main.cpp
      [exec] 23>Compiling resources...
      [exec] 23>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
      [exec] 23>Copyright (C) Microsoft Corporation. All rights reserved.
      [exec] 23>Linking...
      [exec] 23>LINK : fatal error LNK1181: cannot open input file 'TestLib.lib'
      [exec] 23>Build log was saved at "..."
      [exec] 23>MyApplication - 1 error(s), 0 warning(s)
      [exec] ========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========

          [JENKINS-3582] Msbuild parser does not recognize linker errors

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/MsBuildParser.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/AntJavacParserTest.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/resources/hudson/plugins/warnings/parser/all.txt
          trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/issue3582.txt
          http://fisheye4.cenqua.com/changelog/hudson/?cs=17850
          Log:
          [FIXED JENKINS-3582] Added linker error detection.

          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/MsBuildParser.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/AntJavacParserTest.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/resources/hudson/plugins/warnings/parser/all.txt trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/issue3582.txt http://fisheye4.cenqua.com/changelog/hudson/?cs=17850 Log: [FIXED JENKINS-3582] Added linker error detection.

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

              Created:
              Updated:
              Resolved: