edit-azure-devops-release-pipeline-3

Azure DevOps Auto Redeployment in Release Pipeline

Azure DevOps has a new feature Azure DevOps Auto Redeployment in Release Pipeline that we can use to auto redeploy the failed deployments with very little downtime.

Generally, we will come to know about this situation when there are deployment failures and there might be downtime and we would not be able to overcome this until we manually deploy it.

azure-devops-1

Below are the steps that we need to achieve the same .

  1. Login to Azure Devops and go to the release pipeline .
azure-devops-release-pipeline-2

2. Click on the release pipeline edit and then change the settings on the stages.

edit-azure-devops-release-pipeline-3

3. Click on the post deployment approval step and then check on the below option called as “ Auto Redeploy Trigger “.

azure-devops-release-pipeline-auto-redeploy-4
azure-devops-release-pipeline-post-deployment-conditions-5

4. When we enable that step of Auto redeploy we will be able to see 2 options shown below.

azure-devops-auto-redeploy-6

5. Now we can save it and then start a new release so that we can make the first release successful and then we will try to do a failed redeployment.

azure-devops-new-release-7
azure-devops-new-release-8

6. Now , after the successful deployment , we will edit the step to make it failure so that the previous deployment will be automatically deployed.

azure-devops-stage-9

7. We have edited the steps to make it failure , so that we can witness the auto redeployment that is happening.

azure-devops-stage-10

8. Now, we can see that Release#11 is running and it will get failed since we made the changes to make it fail, but after it gets failed we can see that the Release#10 will kick start to auto redeployment of previous successful release.

azure-devops-stage-11
azure-devops-stage-12

This is the advantage of the Azure DevOps so that we don’t need to worry if something goes wrong during our PROD deployments as the tool will automatically reverse the last successful deployment on its own.

For further query related to Azure DevOps training contact us

Recommended Courses

VILT & Self-Paced
Azure Developer Certification

AZ-204: Developing Solutions for Microsoft Azure

This self-paced course will help you prepare for the Azure Developer certification exam AZ-204: Developing Solutions for Microsoft Azure.

BUY NOW

Self-Paced
Azure Developer Certification

AZ-900: Microsoft Azure Fundamentals Tutorial

AZ-900: Microsoft Azure Fundamentals Tutorial provides foundational level knowledge on cloud concepts; core Azure services; security, privacy, compliance, and trust; and Azure pricing and support.

BUY NOW

Self-Paced
Azure DevOps Online Course

AZ-400: Designing and Implementing Microsoft DevOps Solutions

This self-paced course will help you prepare for the Azure DevOps certification exam AZ-400: Designing and Implementing Microsoft DevOps Solutions.

BUY NOW


Sharing is Caring

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top