How to trigger build plan AFTER successful deployment?
Asked by Evgeny Vermenik:

*This question is in reference to Atlassian Documentation: [Triggering builds](https://confluence.atlassian.com/pages/viewpage.action?pageId=289276897)*

I need to run Selenuim (UI) tests AFTER the websites is deployed on QA. It seems the only possible way is to create a new build plan (since running tests and parsing results is only a part of build plans). How can I trigger it after deployment?


Answers:
author: Alexey Chystoprudov
body: Try this plugin <https://marketplace.atlassian.com/plugins/com.atlassianlab.bamboo.plugins.bamboo-after-deployment-trigger-plugin/server/overview> and watch for <https://jira.atlassian.com/browse/BAM-14878> to see when feature will be implemented at Bamboo

comments: author: Steffen Opel _Utoolity_
body: @Alexey Chystoprudov - given the opportunity: many thanks for tackling all those small yet utterly helpful missing pieces recently ([Bamboo After Deployment Trigger](https://marketplace.atlassian.com/plugins/com.atlassianlab.bamboo.plugins.bamboo-after-deployment-trigger-plugin/overview), [Bamboo Fail Build Trigger](https://marketplace.atlassian.com/plugins/com.atlassianlab.bamboo.plugins.bamboo-fail-trigger/overview), [Bamboo agents usage visualization](https://marketplace.atlassian.com/plugins/com.atlassianlab.bamboo.plugins.bamboo-agents-usage/overview), [Bamboo(5.10+) Build Times Plugin](https://marketplace.atlassian.com/plugins/com.atlassian.bamboo.plugin.bamboo-build-times-plugin/overview), [Bamboo Agent Notifications](https://marketplace.atlassian.com/plugins/com.atlassianlab.bamboo.plugins.bamboo-agent-notification-plugin/overview), etc.), very much appreciated!

And btw., the compatibility info for most of those has not been updated automatically to 5.14.0.x due to <https://ecosystem.atlassian.net/browse/AMKT-12857>, so you might want to bump them manually to ease discovery.


author: Alexey Chystoprudov
body: Thank you @Steffen Opel \[Utoolity\]. I'll update them this week


author: Evgeny Vermenik
body: Thank you for the information about [bamboo-after-deployment-trigger-plugin](https://marketplace.atlassian.com/plugins/com.atlassianlab.bamboo.plugins.bamboo-after-deployment-trigger-plugin/server/overview) it does everything I need.


author: Alexey Chystoprudov
body: Glad it works for you.

Can you please leave feedback on Marketplace to increase visibility


author: yogitac
body: This Add-on is supported until Version 6.6.3.

I am using version 6.7.1, do we any replacement for it in the latest version.


author: Alexey Chystoprudov
body: [@yogitac](/t5/user/viewprofilepage/user-id/2201053), fixed compatibility at Marketplace


author: Kevin McKenzie Sampson
body: Wouldn't this plugin add the risk of a cyclical dependency?

Isn't that why Bamboo doesn't have this trigger feature by default?

In an enterprise, how would the tool owner be able to track cyclical dependencies in an environment of 100s of building/deploying applications?

My suggestion would be:

Tester Build:

* builds bundled up testing image
* runs against environment to test
* pushes to dtr

App Code Deployment:

* deploys app code to env
* pulls test image from dtr
* runs against environment to test

This ensures you only use the latest working test code since it won't be available to the environment unless it was successful in the test build


author: Alexey Chystoprudov
body: [@Kevin McKenzie Sampson](/t5/user/viewprofilepage/user-id/1467267), the only reason this plugin is not bundled to product is increased complexity.

It looks like workaround to client's needs to have kind of build pipeline. Team decided not to add this workaround but work at pipeline feature at future releases.

Regards,

Alexey Chystoprudov

Bamboo team


Tags: bamboo-administration

build

trigger