[英]Azure DevOps Build and Release-Pipeline with GitFlow Branching
Given:鉴于:
Based on this blog I wanted to configure the build and release-pipeline.基于这个博客,我想配置构建和发布管道。 But it looks like this will not work with multiple artifacts
但看起来这不适用于多个工件
I have following Pipelines:我有以下管道:
In this example I did some changes to one of the projects (WebSPA) and merged it into master-branch.在此示例中,我对其中一个项目 (WebSPA) 进行了一些更改,并将其合并到主分支中。
But the release will not work because of not met conditions但是由于不满足条件,发布将无法正常工作
AKS Staging want only artifacts of develop and AKS Production only artifacts of master. AKS 暂存只需要开发工件和 AKS 生产只需要主工件。 Only the latest build-artifacts are recognized.
仅识别最新的构建工件。 In this example there are changes in develop, which shall not be merged to master.
本例中develop有变化,不能合并到master。
My hope was to reuse as many things as possible.我的希望是尽可能多地重用东西。 But from what I see I have to duplicate the artifacts.
但据我所知,我必须复制工件。 One for develop and one for master?
一个用于开发,一个用于大师? Are there better possibilities to use GitFlow-branching with Azure Devops?
是否有更好的可能性将 GitFlow 分支与 Azure Devops 一起使用?
What I'm not able to do:我不能做的事情:
About your attachment, the Artifact condition not met error.关于您的附件,Artifact condition not met 错误。 You have set many conditions in the Artifact filters.
您在工件过滤器中设置了许多条件。 The Artifac filters meaning is, select artifact condition(s) to trigger a new deployment.
Artifac 过滤器的含义是,select 工件条件以触发新部署。 A release will be deployed to this stage only if all artifact conditions match.
仅当所有工件条件都匹配时,才会将发布部署到此阶段。
You release pipeline is triggered by one build pipeline artifact, and it can't match all the artifact filters, so you will get the Artifact condition not met error.您发布管道由一个构建管道工件触发,它无法匹配所有工件过滤器,因此您将收到工件条件未满足错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.