How can i change virtual directory name from one environment to another environment during promote

Hi Octopus Team,

i need to change deploy virtual directory name as follow

Environment Virtual directory name

In Development devasp
In Testing testasp
In Production Applicationname

How can i do virtual directory name changing process with octopus deployment tool from one environment to another environment.

Hi Hari,

Thanks for reaching out. To do that, create 3 variables with the same name and assign to each a value according the the scoped environment (see attached screenshot)

Then use that variable to resolve the virtual directory name during your deployment. That variable value will change depending on the environment you are deploying to.



Hi Dalmiro Grañas,

Thank for your immediate response.I will try this in my projects.I hope its very helpful to me.