Details
-
Bug
-
Resolution: Fixed
-
High
-
9.4.3, 9.2.11, 9.5.1
-
None
-
1
-
Severity 2 - Major
-
0
-
Description
Problem
Bamboo will copy only the first file from a comma-separated list assigned to the Local path field in an SCP task in case Use Ant patterns to select files is disabled.
Environment
- Bamboo DC
- SCP Task
Steps to Reproduce
- In a Job, add a script task to create three files file1.txt, file2.txt, file3.txt
- Add a SCP Task
- Under Artifact choose Local files
- On Local path add:
file1.txt, file2.txt, file3.txt
- Make sure to disable "Use Ant patterns to select files"
- Save the Task and run the plan
Expected Results
All three files should be copied
Actual Results
Only the first file is copied
Workaround
- Create an SCP task for each file
or - On the SCP task properties, select "Use Ant patterns to select files"
or - Modify the Local path list so it will not contain leading or trailing whitespace between each file or directory. For example:
file1.txt,file2.txt,file3.txt,file 4 with whitespace.txt,file5.txt,directory1
Notes
Build-in documentation states:
Local path of the files to copy. Must be relative to your Bamboo plan's working directory.
This is a comma separated list of files or directories.
Which makes the Administrator believe that a CSV input will allow multiple files to be copied.
Attachments
Issue Links
- mentioned in
-
Page Loading...