Looking for some advise regarding Azure DevOps release pipelines please.
I have a single repo with two ASP.NET web applications. The intention is use the release pipeline feature to manage deployments (from the master branch) to several tenants, all are self-hosted on IIS. Each tenant will host both web applications. The first web application has a tenant-specific web.config file and the second web application has a tenant-specific JavaScript file. It's easy to use XML variable substitution for a single tenant (setting the build to "Release", for example) but I've got two challenges:
- How can I maintain multiple web.config files within Azure DevOps depending on the release pipeline item / task?
- How can I exclude the JavaScript file from the web deploy task?
For item 2, I used the -skip parameter as suggested here but this isn't working. I'm assuming I have a syntax error but struggling to find a good resource that describes the -skip parameter.
-skip:objectName=filePath,absolutePath=\\app\\app\.js
Thank you!