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

msbuild plugin expects a path to msbuild.exe, but shows a warning if you specify it

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: msbuild-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.615
      msbuild-plugin 1.24
    • Similar Issues:

      Description

      in the msbuild system config section where you specify the msbuild installations, the "Path to MSBuild" textbox expects a directory (eg C:\windows\Microsoft.NET\Framework\v4.0.30319). if you specify the full path to msbuild.exe (eg C:\windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe) it shows a warning:

      C:\windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe is not a directory on the Jenkins master (but perhaps it exists on some slaves)

      however, if you omit the \msbuild.exe suffix, then builds fail with the following error:

      'C:\windows\Microsoft.NET\Framework\v4.0.30319' is not recognized as an internal or external command,
      operable program or batch file.

      so, either:

      1. the config dialog should allow (and require) the \msbuild.exe suffix, or
      2. the build executor should append the \msbuild.exe suffix.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                marshall777 Lionel Cabasson
                Reporter:
                spongman spong man
              • Votes:
                3 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: