I have a number of artifacts (unit test results, system test results) in build plans and I am using deployment plans.
Will the artifacts in the build plans expire if an artifact from that specific build is deployed to any environment?
I would like Bamboo to never expire the build results that are actively deployed.
Hello Johan,
According to this document the artifact expiry date is calculated this way:
If the age of the build or deployment artifact is equal to or greater than the Expire after age, then it is deleted when the expiry event occurs (assuming artifacts are configured for deletion).
In that same document it is also mentioned that if you want to keep specific build results, regardless of expiry date, you can add labels to your builds and specify these labels in the Keep builds with the following labels field.
If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.
Thanks in advance!
Kind regards,
Felipe Kraemer
Hi,
I'm reading the documentation, and I still do not feel assured that that following is true:
"If a release is deployed and deployment expiration is set to keep latest 2 deployed builds, is the build that the release is created from protected from being removed?"
Can you please confirm Yes or No to this question.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Felipe. Are keep forever labelled builds counted in the minimum builds to keep count?
Example: My keep forever builds are 15 at present and my minimum builds to keep value is configured 20. So, can I have only 5 (20-15) builds besides keep forever builds or can I have 20 minimum additional builds?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.