I am able to deploy a website to a VM in AWS using VSTS. My code is hosted in git on VSTS. When I deploy using IIS Website. In the IIS Web App Deploy
In Additional Arguments I specified -setParam:name='IIS Web Application Name',value='Default Web Site\TestVSTS. But it still gets deploy to 'Default Web Site'
And on the log file on VSTS i can see the command not getting overwriten with my command. Any body having the same issue ?
Log File Command being executed by vsts : C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package='C:\vstsagent\A2_work\r3\a\temp_web_package_2238626544802922.zip' -dest:auto -setParam:name='IIS Web Application Name',value='Default Web Site' -enableRule:AppOffline -enableRule:DoNotDeleteRule
Update : Set WebSite to "Default Web Site " and Virtual Application to "TestVSTS" Still did not work. Look Below to see what I did and it did work
Update this Work