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

MSBuild plugin creates malformed command line

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • msbuild-plugin
    • None
    • Windows Server 2003 (All SP's)

      Please see
      http://n4.nabble.com/MSBuild-Plugin-1-3-MSBuild-no-longer-works-tc1472772.html#a1472772
      for the initial report of the issue.

      Since version 1.3, the MSBuild plugin tries to pass build variables as arguments to MSBuild.
      The changes done to MSBuildBuilder.java in version 23118 result in a malformed command line that is then used to start MSBuild, resulting in error messages like:

      MSBUILD : error MSB1006: Property is not valid.
      Switch: 2

      The issue practically renders MSBuild useless. All our native builds ceased to work after upgrade of the plugin.
      The issue did not exist in version 1.2 of the plugin.

            gbois Gregory Boissinot
            atticus atticus
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: