简体   繁体   中英

Azure Devops Release Pipeline

I am trying to build a YAML release pipeline in Azure devops. I already have YAML build pipeline. I can see that when i do a YAML build Azure devops is making azure-pipelines.yml which is checked into a master branch of code repo. Now if I want a separate YAML release (CD) pipeline how can I do it, because when click release there is YAML creation option.

释放选项 . 不发布 YAML 选项

Or do i have to add release to the existing azure-pipelines.yml which already has the build. In this case my build and release is all in one file. how can i then control the release and in some case reject the releases? What is the recommended approach? A bit lost in this YAML CI/CD. Please advise.

You'll need to enable multi-staged pipelines from the preview features. With them, you'll create just one yaml pipeline for both build and release. Do note that multi-stage pipelines still lack some of the features available in editor-based release pipelines.

https://docs.microsoft.com/en-us/azure/devops/project/navigation/preview-features?view=azure-devops

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