Bamboo removes quotes from builder Argument field

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 3.1.4, 3.2 M1, 3.2
    • Affects Version/s: None
    • Component/s: None
    • None

      Under Configuration -> Builder -> Builder Configuration -> Argument, Bamboo will remove any quotes that are not in the beginning or at the end of the argument string. Examples:

      If the following is set in the Argument field:

      /project:"Master Project"
      

      Bamboo runs this:

      Starting to build 'TheProjectName - BuildPlanName'
      ... running command line: /bin/sh /test/test.bat "/project:Master Project"
      ... in : /Users/rbattaglin/SANDBOX/bamboo262-Home/xml-data/build-dir/PROJKEY-BUILDPLANKEY
      

      If the following is set in the Argument field:

      /project:\"Master Project\"
      

      Bamboo runs this:

      Starting to build 'TheProjectName - BuildPlanName'
      ... running command line: /bin/sh /test/test.bat "/project:\Master Project\"
      ... in : /Users/rbattaglin/SANDBOX/bamboo262-Home/xml-data/build-dir/PROJKEY-BUILDPLANKEY
      

      A workaround is to call the full command, builder and it's arguments from the another script (that would be called by Bamboo).

            Assignee:
            PiotrA
            Reporter:
            Renan Battaglin (Inactive)
            Votes:
            10 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: