Using TFS Team Build 2010 to deploy to Dev site and create packages for Staging and Production sites
- by Kb
I am trying to configure a TFS Team Build 2010 to perform
automatic deployment to development environment and creation of deployment packages for staging and production environment.
In the field for MSBuildArguments in the build definition I have:
/p:DeployOnBuild=True <br/>
/p:DeployTarget=MsDeployPublish <br/>
/p:MSDeployPublishMethod=RemoteAgent <br/>
/p:CreatePackageOnPublish=True <br/>
/p:DeployIISAppPath=devwebsitename<br/>
/p:MsDeployServiceUrl=http://deployserver/MsDeployAgentService<br/>
/p:UserName=username<br/>
/p:Password=password<br/>
Automatic deployment of dev web site is ok and I get a package for the web site generated
How can I (the same build) get deploy packages for the other environments : Staging and Production?
Or am I missing som basic concept here?