Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-16234

Trigger a rollback automatically if deployment plan fails

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • None
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      I have a deployment plan, which pulls a docker image and runs it. Then it does a health check to make sure the service came back healthy.

      If the health check fails, then I want to automatically trigger a rollback to the previous version. Is there a way to set this up in Bamboo? Triggers seem to allow deploying on a schedule or after a successful build, but I could not find any documentation on triggering a rollback after a failed deployment. This will be great to automate the push/build/deploy and recovery pipeline.

      I looked at this other case which was linked from a stackoverflow post which did not help, https://jira.atlassian.com/browse/BAM-14079

              Unassigned Unassigned
              8d340c0a4c1f Anand Gorantala
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: