Let's say I have a plan with 2 stages in Bamboo.
The 1'st stage builds and uploads an artifact to jfrog using the bamboo-jfrog-plugin.
The 2'nd stage do something that fails, meaning the whole build failed.
On that case I wish to revert changes and remove all build artifacts that were pushed to the jfrog
artifactory
server.
Is there a simple way to "revert" and delete all this plan artifacts?
If you are collecting and publishing build info using JFrog CLI, you can then delete all build artifacts.
The build can be deleted using one of the following JFrog CLI commands:
jf rt build-discard "my-build" --max-builds=1 --delete-artifacts
--build
- only delete the artifacts.