Jenkins ver. 1.615
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.
- the config dialog should allow (and require) the \msbuild.exe suffix, or
- the build executor should append the \msbuild.exe suffix.