views:

325

answers:

1

I've configured TFS 2010 to do a build and utilizing the MSBuild arguments, have it deploying to a single server without any issues.

/p:DeployOnBuild=True 
/p:Configuration=Development 
/p:DeployTarget=MSDeployPublish 
/p:MSDeployPublishMethod=RemoteAgent 
/p:MsDeployServiceUrl=http://<insert>/msdeployagentservice 
/p:username=<insert> 
/p:password=<insert>

However, I am now to the point where I'd like to deploy to multiple machines after a build. I wasn't sure if there were some built in mechanisms for doing this, or should I invoke a process to launch a batch file that does this deployment followed by a sync? I was hoping to keep things neat and tidy.

E.g., I could have two build definitions, one for each server, but that seems silly. I was hoping to just build to both servers in one fail swoop without too many outside customizations.

A: 

I've been looking into this for the last week myself and so far have found nothing. Did you find a solution in the end?

I've created a new post here: http://stackoverflow.com/questions/3519501/tfs2010-build-definition-to-deploy-to-multiple-servers and also one over at IIS.NET, but so far have had no responses.

I also didnt want to make the solution more complicated by editing the WF or creating a batch file.

Arkiliknam