user1702369
user1702369

Reputation: 1161

Azure DevOps ordering the release stages

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

Upvotes: 18

Views: 9912

Answers (6)

CodingSoft
CodingSoft

Reputation: 397

Had this same issue this week and it turned that you need to trigger the Release from a build Pipeline and then the stages will be on a horizontal line like you want it.

Upvotes: 0

Jijo John
Jijo John

Reputation: 1684

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

enter image description here

Upvotes: 6

haddassah S
haddassah S

Reputation: 177

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!

Upvotes: 0

Adam
Adam

Reputation: 4580

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

Upvotes: 12

Mivaweb
Mivaweb

Reputation: 5732

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.

Upvotes: 0

Shayki Abramczyk
Shayki Abramczyk

Reputation: 41775

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

Upvotes: 9

Related Questions