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).
- is related to
-
BAM-8745 MSBuild Task is not passing arguments correctly
-
- Closed
-
-
BAM-9234 Maven arguments with spaces confuse Windows build agents
-
- Closed
-
-
BAM-10740 Bamboo does not respect the quotes (") in the command line arguments on windows ( at least for the ANT task)
-
- Gathering Impact
-
- relates to
-
BAM-9502 Document and make public how arguments with space can be quoted in Task fields
- Closed
Form Name |
---|
[BAM-7265] Bamboo removes quotes from builder Argument field
Workflow | Original: Bamboo Workflow 2016 v1 - Restricted [ 1442870 ] | New: JAC Bug Workflow v3 [ 3383581 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Bamboo Workflow 2016 v1 [ 1420494 ] | New: Bamboo Workflow 2016 v1 - Restricted [ 1442870 ] |
Workflow | Original: Bamboo Workflow 2014 v2 [ 608897 ] | New: Bamboo Workflow 2016 v1 [ 1420494 ] |
Remote Link | Original: This issue links to "Page (Extranet)" [ 69742 ] | New: This issue links to "Page (Extranet)" [ 69742 ] |
Remote Link | Original: This issue links to "Page (Extranet)" [ 69742 ] | New: This issue links to "Page (Extranet)" [ 69742 ] |
Remote Link | Original: This issue links to "Page (Extranet)" [ 69742 ] | New: This issue links to "Page (Extranet)" [ 69742 ] |
Remote Link | Original: This issue links to "Page (Extranet)" [ 69742 ] | New: This issue links to "Page (Extranet)" [ 69742 ] |
Remote Link | Original: This issue links to "Page (Extranet)" [ 69742 ] | New: This issue links to "Page (Extranet)" [ 69742 ] |
Remote Link | Original: This issue links to "Page (Extranet)" [ 69742 ] | New: This issue links to "Page (Extranet)" [ 69742 ] |
Remote Link | New: This issue links to "Page (Extranet)" [ 95937 ] |