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.

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

            SET Analytics Bot made changes -
            Support reference count Original: 4 New: 5
            SET Analytics Bot made changes -
            Support reference count Original: 3 New: 4
            Pawel Skierczynski made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1437251 ] New: JAC Bug Workflow v3 [ 3385404 ]
            Status Original: Open [ 1 ] New: Needs Triage [ 10030 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]

            fralec_ added a comment -

            Any news?

            fralec_ added a comment - Any news?
            SET Analytics Bot made changes -
            Support reference count New: 3
            jonah (Inactive) made changes -
            Symptom Severity New: Minor [ 14432 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1422069 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1437251 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 829682 ] New: Bamboo Workflow 2016 v1 [ 1422069 ]

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

                Created:
                Updated: