简体   繁体   中英

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:

在此处输入图像描述

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. 在此处输入图像描述

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

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; 在此处输入图像描述 After; 在此处输入图像描述

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.

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 在此处输入图像描述 then I clicked on the left top on the edit the release pipeline在此处输入图像描述 an got to the next window 在此处输入图像描述 then I clicked again on the stage 1 rectangle and got to the next window 在此处输入图像描述 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!

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

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM