Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Trigger a deployment release rollback based on condition

s2zaman October 2, 2017

I want to perform these steps:

  • deploy the code to server (tasks in 1st environment)
  • run ui tests on the deployed code (tasks in 2nd environment, this will be triggered by 1st environment only if that succeeds)
    • if the tests fail (based on conditions in inline powershell script), then rollback the 1st environment to previous release.
    • if the tests succeed, then nothing to do.

 

I have used the Inject Bamboo Variables plugin, for assigning values to runtime bamboo variables. so no issue on that.

To trigger a Release Rollback for Deployment, i searched out and got this plugin Bamboo Plan Runners. But even this was of no use, as it claimed.

 

2 answers

0 votes
Mohanraj March 2, 2020

Any Luck on this? We are also running similar issue?

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 15, 2018

Hi! 

Looks like this additional trigger will help you

https://bitbucket.org/chystoprudov/bamboo-failtrigger-plugin/src/master/

 

Cheers,

Gonchik Tsymzhitov

s2zaman April 21, 2019

Sorry as i got back too late here.

 

Thanks @Gonchik Tsymzhitov for the suggestion :) .

I have not tried it yet, but seems for build-plans only. This is great in case of build-plans.

 

This another article also did not solve my issue.

Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 22, 2019

Ooh, maybe latest release will help? 

As I see, Bamboo dev needs more feedback :)

Like full name likes this
s2zaman April 22, 2019

Yeah, will need to check this feature in latest release of Atlassian Bamboo.

Like full name likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events