[英]Azure Devops: Manual Deployment to Environment using Pull Request build
I am currently investigating Trunk Based Development using Git and Azure Devops.我目前正在研究使用 Git 和 Azure Devops 的基于主干的开发。 While it is nice that I can deploy code automatically to an environment after opening a pull request, my job has multiple pre-prod environments for testing.
虽然很高兴我可以在打开拉取请求后自动将代码部署到环境中,但我的工作有多个预生产环境用于测试。 I would like to at least have a way to manually deploy my build via code from the outcome of a possible PR to a select environment.
我希望至少有一种方法可以通过代码从可能的 PR 的结果手动部署我的构建到选定的环境。 After testing is finished and it is approved I then want to take that same build and deploy it to another environment for further testing that was not available in the first environment.
测试完成并获得批准后,我想采用相同的构建并将其部署到另一个环境中,以进行在第一个环境中不可用的进一步测试。 Is this possible?
这可能吗?
I would like to at least have a way to manually deploy my build via code from the outcome of a possible PR to a select environment.
我希望至少有一种方法可以通过代码从可能的 PR 的结果手动部署我的构建到选定的环境。
For this issue , when you create a release , you can manually select pull request build version as artifact source for this release.对于此问题,当您创建发布时,您可以手动选择拉取请求构建版本作为此发布的工件源。
In the Pipeline
section you can choose the stages for which you want to change the trigger from automated to manual.在
Pipeline
部分,您可以选择要将触发器从自动更改为手动的阶段。 A manual deployment will be required for these stages.这些阶段需要手动部署。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.