简体   繁体   English

Azure Devops:使用拉取请求构建手动部署到环境

[英]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.

相关问题 通过 Azure DevOps 中的拉取请求获取构建 - Get build by pull request in Azure DevOps Azure DevOps 构建管道触发拉取请求 - Azure DevOps Build Pipeline triggers on pull request 使用 Azure DevOps API 共享一个拉取请求 - Using Azure DevOps API to share a pull request Azure DevOps - 使用部署组或部署作业向环境发布管道? - Azure DevOps - Release Pipeline using Deployment Groups or Deployment Job to an Environment? 在Azure Devops的cURL请求中使用环境变量 - Using Environment Variables in a cURL request on Azure Devops 从 azure devops 构建成功后如何使用脚本或管道触发拉取请求 - How to Trigger a pull request using script or pipeline once build is successful from azure devops 无法使用 Azure DevOps 拉取请求对构建错误进行排队 - Unable to queue build error with Azure DevOps Pull Request Azure Devops 需要构建成功才能完成拉取请求 - Azure Devops Require Build Success before Pull Request can be completed 使用 azure devops 部署 ADF 是否会影响环境中的现有管道/作业 - Will ADF deployment using azure devops affect existing Pipelines/Jobs in the environment 如何使用 azure devops 在多环境部署中管理密码和 ConnectionString? - How to manage passwords and ConnectionStrings in a multi environment deployment using azure devops?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM