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

MSBuild plugin creates malformed command line

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Blocker
    • Resolution: Fixed
    • msbuild-plugin
    • None
    • Windows Server 2003 (All SP's)

    Description

      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.

      Attachments

        Issue Links

          Activity

            atticus atticus created issue -
            basiep basiep made changes -
            Field Original Value New Value
            Environment Windows Server 2003 Windows Server 2003 (All SP's)
            Priority Major [ 3 ] Blocker [ 1 ]
            torarvid torarvid made changes -
            Attachment hudson-msbuild-fix-5552.patch [ 20012 ]
            gbois Gregory Boissinot made changes -
            Assignee kdsweeney [ kdsweeney ] gbois [ gbois ]
            gbois Gregory Boissinot made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            gbois Gregory Boissinot made changes -
            Resolution Cannot Reproduce [ 5 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            ctorgerson Chris Torgerson made changes -
            Link This issue is related to JENKINS-12554 [ JENKINS-12554 ]
            gbois Gregory Boissinot made changes -
            Resolution Cannot Reproduce [ 5 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            gbois Gregory Boissinot made changes -
            Resolution Fixed [ 1 ]
            Status Reopened [ 4 ] Resolved [ 5 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 135644 ] JNJira + In-Review [ 187011 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: