Trigger a job after successful deployment
Asked by sgoru:

Hi ,

I know we can trigger a deployment after a successful build but I am looking to see if I can trigger a scan plan/job after the build and deployment is successful.

Thank you!


Answers:
author: Eduardo Alvarenga
body: Hello [@sgoru](/t5/user/viewprofilepage/user-id/4443725)

You will have to use the Bamboo After Deployment trigger plugin:

* [After Deployment Trigger for Bamboo](https://marketplace.atlassian.com/apps/1216136/after-deployment-trigger-for-bamboo?tab=overview)

Kind regards,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: sgoru
body: Thank you [@Eduardo Alvarenga](/t5/user/viewprofilepage/user-id/4365410) for the prompt reply. Forgot to mention the version we use. Its 7.0.2 would that matter in any way or I can use the plugin?


author: Eduardo Alvarenga
body: Hello [@sgoru](/t5/user/viewprofilepage/user-id/4443725)

You can try using the latest version. If it doesn't work, please try using one of the past builds as linked here:

* <https://marketplace.atlassian.com/apps/1216136/after-deployment-trigger-for-bamboo/version-history>

Regards,

Eduardo Alvarenga  
Atlassian Support APAC


author: sgoru
body: Hi [@Eduardo Alvarenga](/t5/user/viewprofilepage/user-id/4365410) ,

Thank you I dont see this tool in the market place for 7.0.2. Are there any install inscructions for jar plugin.

![Bamboo.png](https://community.atlassian.com/t5/image/serverpage/image-id/210481i5545D27BFD25C4EA/image-size/large?v=v2&px=999 "Bamboo.png")


author: Eduardo Alvarenga
body: Hi [@sgoru](/t5/user/viewprofilepage/user-id/4443725)

If that's not available on the marketplace you will have to install it manually.

Download the version from [https://marketplace.atlassian.com/apps/1216136/after-deployment-trigger-for-bamboo/version-history](https://marketplace.atlassian.com/apps/1216136/after-deployment-trigger-for-bamboo/version-history%20) and follow these instructions:

* [Installing a plugin](https://confluence.atlassian.com/bamboo/installing-a-plugin-289277265.html)

Regards,

Eduardo Alvarenga  
Atlassian Support APAC


author: sgoru
body: hi [@Eduardo Alvarenga](/t5/user/viewprofilepage/user-id/4365410) I was able to successfully installed but some of the deployment plans are not showing up in the drop down. If we can have a working session I can show you what is going on. Can you help?

Thanks in Advance!

Sandeep


author: Eduardo Alvarenga
body: Hey [@sgoru](/t5/user/viewprofilepage/user-id/4443725) thank you for your feedback!

Bamboo 7.0.2 has already reached its end of life. We advise you to try upgrading Bamboo to a supported version first (preferably 8.2), then try using that plugin again.

* [Bamboo upgrade guide](https://confluence.atlassian.com/bamboo/bamboo-upgrade-guide-720411366.html)

If after that it still doesn't work we recommend you open a case with us at <https://support.atlassian.com/contact>

Eduardo Alvarenga  
Atlassian Support APAC


author: sgoru
body: HI [@Eduardo Alvarenga](/t5/user/viewprofilepage/user-id/4365410) is there a way I can add a delay to a trigger after successful deployment.


author: Eduardo Alvarenga
body: Hello [@sgoru](/t5/user/viewprofilepage/user-id/4443725),

Not directly. But you can add a Script task before the trigger that will contain a "sleep" command.

Eduardo Alvarenga  
Atlassian Support APAC