Home / Question / TFS Online CI build and Deploy to OnPremise IIS server

TFS Online CI build and Deploy to OnPremise IIS server

I am using TFS online Build process for settiing up CI and deploying.

I am having issues with the deployment. The build part runs smooth but the deployment part does not work at all. It does not give any error either.

I have tried variety of links/helps to configure my MSBuild Arguement but nothing has worked so far. Can any one help me here?

Here are the arguements I have used

/p:DeployOnBuild=True;DeployTarget=MSDeployPublish;CreatePackageOnPublish=True;MSDeployPublishMethod=RemoteAgent;MsDeployServiceUrl=<<http://IP/Server name>>;DeployIisAppPath="WebsiteName";VisualStudioVersion=12.0;UserName=domainuserid;PublishProfile=PublishProfileName

/p:DeployOnBuild=True /p:DeployTarget=MSDeployPublish /p:CreatePackageOnPublish=True /p:MSDeployPublishMethod=RemoteAgent /p:MsDeployServiceUrl=<<WebserverName>> /p:DeployIisAppPath="WebsiteName" /p:VisualStudioVersion=12.0 /p:UserName=domainuserid

/p:WebPublishMethod=Package /p:PublishProfile=<<publish profile name>>

I am using VS2013 and the template I have tried are DefaultTemplate, GitContinuousDeployment templates.

Any pointers on this please?

Check Also

Nebia half spray

Nebia

Nebia leverages advances in design and thermofluids to create a better shower experience that actually saves you thousands of gallons of water a year. With those savings, Nebia pays for itself in about a year.

One comment

  1. It is not clear if you are using the old Xaml builds or the new vNext builds. In both cases its highly likely that the hosted build controller cannot access your server/IP address. This is probably not due to anything on your side and is because the hosted controller has limited connectivity to the outside world.
    Most likely you will need to setup a deployment agent: https://www.visualstudio.com/en-us/get-started/release/deploy-with-agents-vs

Leave a Top Ten Reply: