TFS 2017- Release deploy app to IIS under a website

谁说我不能喝 提交于 2021-02-19 16:00:58

问题


I am using TFS 2017 build and realease to deploy a website, In my IIS i have the following Structure

 - WebsiteHost
   - ApplicationToDeploy

I am using Deploy IIS App step on TFS realease definition

Question: how can I tell the realease build to update ApplicationToDeploy under WebsiteHost? Right now it creates a new Website on WebsiteHost level which i don't want. I tried WebsiteHost\ApplicationToDeploy in Host name field in the task but that just created a website with Host name WebsiteHost\ApplicationToDeploy. Any Ideas?

Hope I made my issue clear


回答1:


Based on my test, you just need to specify the Website name in Deploy IIS App step, then it will automatically update the website once any changes are checked in with the CI/CD definitions set.

Assuming the Website name is ApplicationToDeploy, just specify the name under Deployment > Website name

UPDATE:

Make sure the website is existing there, you check in IIS manager.



来源:https://stackoverflow.com/questions/45695063/tfs-2017-release-deploy-app-to-iis-under-a-website

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!