Fix post build action failing on remote agents due access denied error
When we used the PostBuildAction it always got executed on the server side.
When the job was built by a remote agent, we couldn't reach the temp files we created in order to clean them up.
Fix post build action failing on remote agents due access denied error
When we used the PostBuildAction it always got executed on the server side. When the job was built by a remote agent, we couldn't reach the temp files we created in order to clean them up.
The solution:
Use buildProcessor instead docs : https://developer.atlassian.com/server/bamboo/build-processor-module/
This will allow us to run the right clean up function and make sure we are executing inside the right context.