11

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)?

Shayki Abramczyk
  • 36,824
  • 16
  • 89
  • 114
variable
  • 8,262
  • 9
  • 95
  • 215

1 Answers1

13

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.

Shayki Abramczyk
  • 36,824
  • 16
  • 89
  • 114