Hey guys,
I'm running a docker container as a docker task in order to run tests against a branch of code. The docker container simply runs while mounting the working dir as /data (default) then generates artifacts in that mounted dir that bamboo access directly (thanks to the mount). This works great. The problem comes when bamboo tries to erase the working dir it says it does not have the correct permissions :
19-Sep-2016 10:40:28
Finished publishing of artifact Job artifact: [JUnit], pattern: [**/junit.xml] anchored at: [build/logs] in 1.408 ms
19-Sep-2016 10:40:28
Running post build plugin 'npm Cache Cleanup'
19-Sep-2016 10:40:28
Running post build plugin 'Clover Results Collector'
19-Sep-2016 10:40:28
Running post build plugin 'Docker Container Cleanup'
19-Sep-2016 10:40:28
Could not remove working directory for plan 'REXM-DEV6-UT': /var/atlassian/application-data/bamboo/xml-data/build-dir/REXM-DEV6-UT/build/logs: Operation not permitted
19-Sep-2016 10:40:28
Finalising the build...
Anyone know what could be the cause of this? I'm guessing it's somehow related to the volumes not being removed or something?
Any help would be appreciated.
Cheers.