Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does revert do in Azure Release pipeline?

On a release pipeline's history tab, you can select the ellipses on each record and choose to compare the difference or revert pipeline.

What does the revert option do? Does it revert the selected version (change) out of the latest pipeline? or does it revert the latest pipeline to the selected version (just after the change was made)?

like image 716
variable Avatar asked Feb 18 '20 09:02

variable


People also ask

How do I revert Azure pipeline?

Open the Pipeline in Edit Mode, that displays all the stages along with Tasks, Variables, Retention, Options, and History. Select the History tab tracks all the changes in the Pipeline. The History Tabs show the type of changes, along with Changed Date and Changed By.

What is revert in Azure DevOps?

Go to Azure DevOps -> Your Repository -> Switch to the Working branch where you just made the commit that needs to be changed. Go to History and click on the commit that needs to be reversed. Select "revert" option from hamburger icon at top right.

How do I revert a release on Azure DevOps?

In the History window, select two or more consecutive versions, open their shortcut menu, and choose Rollback.

How do I undo a commit on Azure DevOps?

In the History tab for the current branch, right-click the commit you want to revert and choose Revert to create a new commit that undoes the changes made by the selected commit.


1 Answers

The revert tell Azure Pipelines to make the definition like the version you click "Revert Pipeline".

For example - I have 4 versions of my pipeline:

1) An empty pipeline.

2) One stage.

3) One Stage + Second Stage.

4) One Stage + Second Stage + This stage.

Now I have 3 stages in my release pipeline.

If I want to go back and delete my last 2 stages I need to go the History tab, to the second line that represents the creation of 2) One stage and click there on "Revert Pipeline". the pipeline will be with One stage only, like the version I clicked to revert.

like image 146
Shayki Abramczyk Avatar answered Oct 17 '22 17:10

Shayki Abramczyk