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

Quote character in Command task argument is not interpreted correctly

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

      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.

          Form Name

            [BAM-15549] Quote character in Command task argument is not interpreted correctly

            fralec_ added a comment -

            Any news?

            fralec_ added a comment - Any news?

              Unassigned Unassigned
              dlee@atlassian.com Deric Lee (Inactive)
              Affected customers:
              6 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated: