Description
When doing a build or deploy that is trying to clean the working/build directory of a build that has files with unicode filename, the cleaning step fails on deleting the files
Build log
Build always requires a clean checkout
Cleaning build directory '/home/bamboo/bamboo-home/xml-data/build-dir/TEST-TES-TES'
Unable to clean source directory '/home/bamboo/bamboo-home/xml-data/build-dir/TEST-TES-TES' File does not exist: /home/bamboo/bamboo-home/xml-data/build-dir/TEST-TES-TES/vendor/liip/imagine-bundle/Liip/ImagineBundle/Tests/Fixtures/assets/????????.jpeg
Deploy log
Unable to clean working directory '/home/bamboo/bamboo-home/xml-data/build-dir/22282243-22380553' File does not exist: /home/bamboo/bamboo-home/xml-data/build-dir/22282243-22380553/vendor/liip/imagine-bundle/Liip/ImagineBundle/Tests/Fixtures/assets/????????.jpeg
Error occurred while running Task '(1)' of type com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask.
com.atlassian.bamboo.task.TaskException: Unable to clean working directory '/home/bamboo/bamboo-home/xml-data/build-dir/22282243-22380553' File does not exist: /home/bamboo/bamboo-home/xml-data/build-dir/22282243-22380553/vendor/liip/imagine-bundle/Liip/ImagineBundle/Tests/Fixtures/assets/????????.jpeg
The only workaround at that point, is to manually log into the bamboo server and delete the files directly from the filesystem.