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

Handling of "partially" quoted arguments in MSBuild plugin broken

      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.

          [JENKINS-18582] Handling of "partially" quoted arguments in MSBuild plugin broken

          Dirk Kuypers added a comment -

          This is a duplication of JENKINS-18543

          Dirk Kuypers added a comment - This is a duplication of JENKINS-18543

          Dirk Kuypers added a comment -

          Hm, not sure if I followed the right workflow but I could not find a way to mark this as duplicated without resolving it. So if this was not right, have mercy with me.

          Dirk Kuypers added a comment - Hm, not sure if I followed the right workflow but I could not find a way to mark this as duplicated without resolving it. So if this was not right, have mercy with me.

          candritzky added a comment -

          @Dirk - I'm fine with marking this as resolved as long as it is tracked in a linked workitem.

          candritzky added a comment - @Dirk - I'm fine with marking this as resolved as long as it is tracked in a linked workitem.

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

              Created:
              Updated:
              Resolved: