16

How can I order the different deploy environments. Just for display purposes. Currently we have it stand like this:

enter image description here

I want it to look like this:

development--test-acceptation--production

I already edited the release pipeline and moved development up, but when saving and going back it still not in the order I want it. enter image description here

Shayki Abramczyk
  • 36,824
  • 16
  • 89
  • 114
user1702369
  • 1,089
  • 2
  • 13
  • 31
  • 2
    Agree with @Shayki Abramczyk, after you move the stage up or down, it will affect the next release pipeline and will not change the current release pipeline order.https://i.stack.imgur.com/3sxaf.png I try to use REST API to change the finished release pipeline, and I get the following error https://i.stack.imgur.com/l6oAV.png – Frank Wang-MSFT Oct 22 '19 at 08:28
  • Hi, how the things going? Does the below answer could help you solve your question? If yes, you can accept the answer thus other SO users will be able to see whether the solution works. If you still facing some issues, feel free to leave comment here :-) – Frank Wang-MSFT Oct 24 '19 at 07:33

5 Answers5

9

Edit your Release Pipeline. Each of your stages will currently have the Pre-deployment conditions > Trigger set to After release. You need to change the subsequent stages to be After stage and select the previous stage in the sequence. For example if I want to set my UAT Deployment to be after DEV Deployment;

Before; enter image description here After; enter image description here

Adam
  • 4,180
  • 2
  • 27
  • 31
8

When you move the stages up/down it will reflect only in the next releases, you can't order the stages of finished releases.

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

You can move stages Up and Down in the stage settings. However, it reflects only in the next release.

enter image description here

Jijo John
  • 1,368
  • 2
  • 17
  • 31
0

You need to edit this specific release also. Go to the Pipelines > Release > This specific relaese.

Then choose to edit the relaese.

This will then only have effect on this one. You also need to edit the main release template. Like you mentioned: eg Pipelines > Relaeses > Edit your release.

Mivaweb
  • 5,580
  • 3
  • 27
  • 53
0

so, what I had to do is as fallows.

first of all I mikes up , I thought I'm tiring to reorder the pipelines stages we I really meant on reordering the pipeline staging TASKS.

so I clicked on the stage an got this window enter image description here then I clicked on the left top on the edit the release pipeline enter image description here an got to the next window enter image description here then I clicked again on the stage 1 rectangle and got to the next window enter image description here an with the sight of the 14 dots on the side of every task I was able finally to rearrange the order of the tasks!

haddassah S
  • 147
  • 1
  • 7