SCP Task fails to copy all artifacts
Symptoms
You're running Bamboo 4.4.5 or below, and the plan has a SCP Task configured to copy artifacts over from one place to another. The task fails to complete, and this can be seen in the build log file:
16-Jul-2013 15:15:19 Creating remote directory 'My/Destination/Directory'...
16-Jul-2013 15:15:19 Uploading 'My/Destination/Directory/abc'...
16-Jul-2013 15:15:19 Uploading 'My/Destination/Directory/newfile.sh'...
16-Jul-2013 15:15:19 Uploading 'My/Destination/Directory/anotherfile.sh'...
16-Jul-2013 15:15:21 '/path/to/bamboo-agent-home/myAgent/xml-data/build-dir/ABC-DEF-GHI/Target' was uploaded successfully.
16-Jul-2013 15:15:21 Copy Failed. Some files were not uploaded successfully.
16-Jul-2013 15:15:21 '/path/to/bamboo-agent-home/myAgent/xml-data/build-dir/ABC-DEF-GHI/Target/some/path/to/file.ext' was not uploaded.
16-Jul-2013 15:15:21 '/path/to/bamboo-agent-home/myAgent/xml-data/build-dir/ABC-DEF-GHI/Target/some/path/to/directory' was not uploaded.
16-Jul-2013 15:15:21 Finished task 'Copy files over'
16-Jul-2013 15:15:21 Running post build plugin 'Artifact Copier'
Cause
There is a bug in the bundled Bamboo SCP and SSH Tasks plugin version 1.19 or below.
Resolution
Please upgrade the plugin to version 1.20 and restart Bamboo in order to fix this problem.
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.