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

Handling of "partially" quoted arguments in MSBuild plugin broken

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          bruce Dirk Kuypers added a comment -

          This is a duplication of JENKINS-18543

          Show
          bruce Dirk Kuypers added a comment - This is a duplication of JENKINS-18543
          Hide
          bruce 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.

          Show
          bruce 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.
          Hide
          candritzky candritzky added a comment -

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

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: