Feb 06 2023
12:15 PM
- last edited on
Mar 05 2024
02:23 PM
by
TechCommunityAP
Feb 06 2023
12:15 PM
- last edited on
Mar 05 2024
02:23 PM
by
TechCommunityAP
Hi,
I created a VM Environment in my DevOps Project that I use in a multi-stage YAML pipeline to deploy a Web API to IIS. Is it possible to share that same VM Environment with other DevOps Projects so they can use the same agent to deploy their Web APIs?
May 11 2023 08:47 AM
May 11 2023 09:50 AM
May 11 2023 09:56 AM
@wbosland Thanks for the info, and for the heads up about the environment name, much appreciated.
Shame that MSFT don't allow you to set up a single environment and use it across projects. One of our servers has 20ish IIS sites on it for testing various web apps. That's gonna be a lot of agents!
May 11 2023 10:23 AM
No problem. There is another thread about this from 2020, so this has been a problem for a while now unfortunately.
By the way, I wrote an article on how to build and deploy a web api to IIS using a multi-stage pipeline. You can almost copy paste the YAML code to get it working, you only have to change some names and paths.
May 11 2023 10:27 AM