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)?
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.
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.
In the History window, select two or more consecutive versions, open their shortcut menu, and choose Rollback.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With