It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Storing artifacts from a deployment plan

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?

1 answer

0 votes

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.

As I know there're no plans in Bamboo team roadmap for next 6 months related to artifacts storing for deployments.

Like 1 person likes this

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted yesterday in Jira

Upcoming Enterprise releases targeting Q3 2019: Jira Software 8.5 & Jira Service Desk 4.5

Since launching the Jira Software 8.0 and Jira Service Desk 4.0 platform releases in February, many of you have been asking when the next Enterprise release will be so you can take advantage of the m...

253 views 2 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you