-
Type:
Suggestion
-
Resolution: Low Engagement
-
None
-
Component/s: Deployments
-
0
-
1
Bamboo throws errors because seems to rely on existing definitions in a build plan, even when trying to re-deploy an older build. This is a broken feature because I am unable to rollback or redeploy old releases which should have no relationship to the current latest build configuration.
—
In my build plan, I was collecting to sets of artifacts. Let's call them "artfacts1" and "artifacts2". I created a build called "build-1", and these artifacts were archived with that build.
I created a deployment plan, and it referenced both "artifacts1" and "artifacts2". I created a release called "release-1" and deployed them.
Later, I decided to remove "artifacts2" from my build plan because moving forward I don't need them.
Now I realize I need to rollback/redeploy my existing deployment using "release-1". If I try to do this, I get:
"Could not execute 'ENVIRONMENT:6258689': java.lang.RuntimeException: java.lang.IllegalArgumentException: Unable to find an artifact definition for name: artifacts2"
I've attached a screenshot as well illustrating the error.