[英]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 .您的每个阶段当前都将 Pre-deployment conditions > Trigger 设置为After release 。 You need to change the subsequent stages to be After stage and select the previous stage in the sequence.您需要将后续阶段更改为After 阶段和 select 序列中的前一个阶段。 For example if I want to set my UAT Deployment to be after DEV Deployment;例如,如果我想将我的 UAT 部署设置为在 DEV 部署之后;
You need to edit this specific release also.您还需要编辑此特定版本。 Go to the Pipelines > Release > This specific relaese. Go 到 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所以我点击了舞台,得到了这个 window then I clicked on the left top on the edit the release pipeline然后我点击编辑发布管道的左上角 an got to the next window下一个 window then I clicked again on the stage 1 rectangle and got to the next window然后我再次单击阶段 1 矩形并进入下一个 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!看到每个任务旁边的 14 个点,我终于能够重新排列任务的顺序!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.