Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Failing Post Build Action #16

Merged
merged 4 commits into from
May 29, 2024

Conversation

EyalDelarea
Copy link
Contributor

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.

@EyalDelarea EyalDelarea added the bug Something isn't working label May 27, 2024
@EyalDelarea EyalDelarea requested a review from sverdlov93 May 27, 2024 15:48
@EyalDelarea EyalDelarea linked an issue May 28, 2024 that may be closed by this pull request
@EyalDelarea EyalDelarea merged commit 7322e1c into jfrog:main May 29, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

plugin erroring out on every bamboo job
2 participants