How to deploy multiple apps with Azure DevOps? How to deploy multiple apps with Azure DevOps? azure azure

How to deploy multiple apps with Azure DevOps?


that's many questions in one, but I'd generally separate build\release pipelines for each application (that way you have more control) and you dont have the problem of how to select proper zip file. I'm pretty sure you cant even select a part of zip file (since you now have a single zip file with several solutions), so your approach is not going to work.

as for how to set this up: your build should build 1 project exactly and pack\upload it. and then your release will target that artifact and everything will work just fine.


First things first. Copy the build artefacts into 3 different packages. Say,

  • Artefacts1: For Web Apps

  • Artefacts2: For Portal Apps

  • Artefacts3: For DACPAC files

In this case you will have 3 copy files task copying and 3 publish build artefacts task to publish it to Azure DevOps. In the release pipeline, add 3 agent jobs to perform

  • Deploy to Web App
  • Deploy to Portal App
  • Database DACPAC Deploy

You can refer this to have similar pipeline.