Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-15549

Quote character in Command task argument is not interpreted correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 5.7.2
    • Windows
    • None

    Description

      Steps to reproduce

      1. Add msdeploy.exe as an executable
      2. Add command task that use msdeploy and use -setParam:name="Foo Bar name",value=FooBarValue as argument in the command task
      3. Run plan

      Observation

      The following error is thrown

      Error: Unrecognized argument '"-setParam:name="Foo'. All arguments must begin with "-".

      Workarounds

      Either:
      a) Use parameters without any space to avoid the use of quotes as it's not interpreted correctly.
      b) Use a script task instead of the command task
      c) Create a script file that encapsulates the targeted command and arguments.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dlee@atlassian.com Deric Lee (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: