Azure DevOps: 1 Solution Multiple Projects CI/CD

后端 未结 2 485
被撕碎了的回忆
被撕碎了的回忆 2020-12-15 08:45

I just started setting Azure DevOps with CI/CD. This might not be possible but I hope to find answers.

I have a solution with 6 projects:

  • Web A
2条回答
  •  既然无缘
    2020-12-15 09:44

    Hoping this helps others:

    I solved this by using Path filters on the Build definition and it works flawlessly. I have created 1 build definition per project that needs to live or be hosted somewhere (in my example, I have 3 Build definitions: Web Api, Website, Node.js).

    With the proper path to the project in the Path filter only the proper Builds spin up, and any projects untouched do not trigger a build. Each build has it's own release which then deploys the specified app to it's own destination.

提交回复
热议问题