Trigger a rollback automatically if deployment plan fails

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Duplicate
    • None
    • Component/s: None
    • None

      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

            Assignee:
            Unassigned
            Reporter:
            Anand Gorantala
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: