使用Teamcity将MsBuild和MsDeploy连接到多个服务器

使用Teamcity将MsBuild和MsDeploy连接到多个服务器,msbuild,teamcity,msdeploy,Msbuild,Teamcity,Msdeploy,目前,我正在使用MsBuild&MsDeploy使用以下命令更新1服务器 /p:Configuration=Release /P:DeployOnBuild=True /P:DeployTarget=MSDeployPublish /P:MsDeployServiceUrl=https://%system.server%:8172/MsDeploy.axd /P:AllowUntrustedCertificate=True /P:MSDeployPublishMethod=WMS

目前,我正在使用MsBuild&MsDeploy使用以下命令更新1服务器

/p:Configuration=Release /P:DeployOnBuild=True /P:DeployTarget=MSDeployPublish   
/P:MsDeployServiceUrl=https://%system.server%:8172/MsDeploy.axd     
/P:AllowUntrustedCertificate=True /P:MSDeployPublishMethod=WMSvc  
/P:CreatePackageOnPublish=True /P:UserName=%system.user% /P:Password=%system.pass%   
/P:DeployIisAppPath="PATH TO SERVER"
我是否可以使用相同的已编译可执行文件更新另外两台服务器,而无需再次运行msbuild?我还使用Teamcity将其作为构建步骤运行


干杯

我无法找到一种不多次调用msbuild就可以部署到多个服务器的方法


我们的过程已经从一个具有多个硬编码目的地的构建文件演变为一个powershell脚本,该脚本可以读取所有参数的配置文件。我们只是从Teamcity调用powershell脚本。

我无法找到一种方法,在不多次调用msbuild的情况下部署到多个服务器

我们的过程已经从一个具有多个硬编码目的地的构建文件演变为一个powershell脚本,该脚本可以读取所有参数的配置文件。我们只是从Teamcity调用powershell脚本