You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Is it possible to store artifacts after a deployment plan?
Our use case is this:
We have built an application using a build project, running unit tests etc and stored the build artifact and unit test results in bamboo.
Now we want to deploy our application to multiple environments. We're using deployment plans to conduct these deployments.
As part of the deployment plan, we want to execute test suites, such as integration/acceptance tests, performance tests and post implementation tests.
Our problem is that we cannot upload the results of these test runs to bamboo and make them visible along side a failed deployment.
What is the best way of achieving this?
Hello @Martin Walton,
Bamboo deployments were designed to help management of artifacts with different versions. For you scenario it's better to look at After deployment trigger plugin. It allows to trigger some plan when environment deployed.
So in your case scenario is:
Plan with unit tests -> trigger -> Deployment to test environment -> trigger -> Plan with integration and performance tests. Unfortunately when last plan failed there's no place in deployment release UI to add this information.
In case you don't need deployment releases management maybe it's better to put deployment logic to another plan and use multistaging plan: Unit tests stage -> Upload to QA server stage -> run functional and performance tests stage -> Manual stage which uploads artifacts to production.
Hello @Alexey Chystoprudov,
Thanks for your advice, but both of these options are suboptimal. Are there any plans on the Bamboo roadmap to allow artifacts to be gathered at the end of a Deployment plan?
We do intend to run a test suite even after a production deployment to verify a release was successful.