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

Warnings Plugin MSBuild parser wrong parse msbuild15 warnings output

    • 5.0.0 (analysis-model and warnings-ng)

       In log i have  lines like this:

      17:4>Filters\FilterBuilder.cs(229,34): warning CS0168
      

      As a result, i see «... java.io.IOException: Failed to copy d:/workspace/ .../Filters/17:4>Filters/FilterBuilder.cs ...»,message when I try to see the warning.

      This leads to a constant emergence false-new warnings (because of changed path).

      Pipeline command used to build:

      bat """"${tool 'msbuild 15'}\\msbuild.exe" ${params.Solution} /p:TargetFrameworkVersion=v4.5;Configuration=Debug /p:DebugType=Full /consoleloggerparameters:ErrorsOnly;NoSummary /t:Build /m"""
      

          [JENKINS-48647] Warnings Plugin MSBuild parser wrong parse msbuild15 warnings output

          C Z created issue -
          Ulli Hafner made changes -
          Description Original:  In log i have  lines like this:

          17:4>Filters\FilterBuilder.cs(229,34): warning CS0168

          As a result, i see «... [java.io|http://java.io/].IOException: Failed to copy d:/workspace/ .../Filters/{color:#ff0000}17:4>{color}Filters/FilterBuilder.cs ...»,message when I try to see the warning.

          This leads to a constant emergence false-new warnings (because of changed path).

          Pipeline command used to build:
          {code:none}
          bat """"${tool 'msbuild 15'}\\msbuild.exe" ${params.Solution} /p:TargetFrameworkVersion=v4.5;Configuration=Debug /p:DebugType=Full /consoleloggerparameters:ErrorsOnly;NoSummary /t:Build /m"""
          {code}
          New:  In log i have  lines like this:

          {noformat}
          17:4>Filters\FilterBuilder.cs(229,34): warning CS0168
          {noformat}
          As a result, i see «... [java.io|http://java.io/].IOException: Failed to copy d:/workspace/ .../Filters/{color:#ff0000}17:4>{color}Filters/FilterBuilder.cs ...»,message when I try to see the warning.

          This leads to a constant emergence false-new warnings (because of changed path).

          Pipeline command used to build:
          {code:none}
          bat """"${tool 'msbuild 15'}\\msbuild.exe" ${params.Solution} /p:TargetFrameworkVersion=v4.5;Configuration=Debug /p:DebugType=Full /consoleloggerparameters:ErrorsOnly;NoSummary /t:Build /m"""
          {code}
          Ulli Hafner made changes -
          Component/s New: analysis-model [ 23523 ]
          Component/s Original: warnings-plugin [ 15513 ]
          Assignee Original: Ulli Hafner [ drulli ]
          Labels Original: pipeline plugin New: help-wanted newbie-friendly
          Ulli Hafner made changes -
          Epic Link New: JENKINS-56456 [ 198054 ]
          Raphael Furch made changes -
          Assignee New: Raphael Furch [ hobbyte ]
          Raphael Furch made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Raphael Furch made changes -
          Rank New: Ranked higher
          Ulli Hafner made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Fixed but Unreleased [ 10203 ]
          Ulli Hafner made changes -
          Released As New: 5.0.0 (analysis-model and warnings-ng)
          Status Original: Fixed but Unreleased [ 10203 ] New: Resolved [ 5 ]

            hobbyte Raphael Furch
            upas C Z
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: