WebDeploy with MSBuild Not Deploying from TeamCity

前端 未结 6 1366
不思量自难忘°
不思量自难忘° 2021-02-08 13:34

I am trying to use MSDeploy to deploy an MVC project to the server using TeamCity. When I do this on my computer in powershell, using the following command:

msbu         


        
6条回答
  •  借酒劲吻你
    2021-02-08 13:48

    Here are the config settings that finally worked for me:

    /p:Configuration=CONFIG-NAME
    /p:DeployOnBuild=True
    /p:DeployTarget=MSDeployPublish
    /p:MsDeployServiceUrl=http://SITE-URL/MsDeployAgentService
    /p:username="USERNAME"
    /p:password=PASSWORD
    /p:AllowUntrustedCertificate=True 
    /P:CreatePackageOnPublish=True 
    /p:DeployIisAppPath=SITE-URL
    /p:MSDeployPublishMethod=RemoteAgent
    /p:IgnoreDeployManagedRuntimeVersion=True
    

提交回复
热议问题