jfrog / bamboo-jfrog-plugin

Easy integration between Bamboo and the JFrog Platform.
https://github.com/jfrog/bamboo-jfrog-plugin
Apache License 2.0
10 stars 2 forks source link

Fix Failing Post Build Action #16

Closed EyalDelarea closed 4 months ago

EyalDelarea commented 4 months ago

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 image 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.