简体   繁体   English

Azure DevOps 订购发布阶段

[英]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 部署之后;

Before;前; 在此处输入图像描述 After;后; 在此处输入图像描述

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 个点,我终于能够重新排列任务的顺序!

You can move stages Up and Down in the stage settings.您可以在舞台设置中上下移动舞台。 However, it reflects only in the next release.但是,它仅反映在下一个版本中。

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从 Azure DevOps 的版本中排除阶段? - How to exclude stages from a release in Azure DevOps? 在 Azure Devops 中复制发布管道所有阶段的更改 - Replicate the changes in all stages of a release pipeline in Azure Devops Azure DevOps在发布阶段之间无法传递参数 - Azure DevOps pass parameter between release stages not build 在 Azure DevOps (VSTS) 中的发布阶段之间共享文件 - Share file between release stages in Azure DevOps (VSTS) Azure Devops 服务器:在经典发布管道中的阶段之间共享文件 - Azure Devops Server: Share files between stages in Classic Release pipeline Azure DevOps 管道阶段 - Azure DevOps pipelines stages DevOps - 发布管道中的禁用阶段 - DevOps - Disabling stages in a release pipeline Azure Devops Release Pipeline - 在某些阶段成功时运行此作业自定义条件 - Azure Devops Release Pipeline - Run this job Custom Condition when certain stages succeed 将 Azure devops 发布管道(经典编辑器) output 变量传递给同一阶段的多个作业或外部的多个阶段 - Pass Azure devops release pipeline(Classic editor) output variable to multiple jobs in same stage or to multiple stages outside Azure DevOps(VSTS)管道(版本定义)排除某些阶段(环境)的构建标记 - Azure DevOps (VSTS) Pipeline (Release Definition) To Exclude Build Tag for Certain Stages (Environments)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM