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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: