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

Handling of "partially" quoted arguments in MSBuild plugin broken

XMLWordPrintable

      MSBuild plugin version 1.18 doesn't handle "partially" quoted arguments correctly.

      I am using /p:Configuration="Any CPU". This is converted to "/p:Configuration="Any CPU"" causing the MSBuild command line to fail.

      As a workaround I can escape the space character using a backslash (e.g. /p:Configuration=Any\ CPU). This will be converted by the MSBuild plugin to "/p:Configuration=Any CPU" which is fine for MSBuild. But this is only a workaround requiring to change all my Jenkins build jobs.

      This is a regression introduced by the fix for JENKINS-17876.

            kdsweeney kdsweeney
            candritzky candritzky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: