开发者

teamcity is not executing msbuild command

开发者 https://www.devze.com 2023-03-22 04:12 出处:网络
I have a configuration in teamcity that package and deploys. I am using the following to package and deploy on a remote server

I have a configuration in teamcity that package and deploys. I am using the following to package and deploy on a remote server

/M /P:Configuration=%env.Configuration% /P:DeployOnBuild=True
/P:DeployTarget=MSDeployPublish /P:MsDeployServiceUrl=%env.TargetServer%/MsDeployAgentService /P:MSDeployPublishMethod=RemoteAgent /P:CreatePackageOnPublish=True /P:Username=%env.username% /P:Password=%env.password%

It is not doing any thing just building the project. Any idea what I am miss开发者_StackOverflowing here. Process that makes a package is missing from build. Validating Web Deploy package/publish. plz help


Have a look at the You're deploying it wrong! TeamCity, Subversion & Web Deploy series. My suspicion is that either Web Deploy is not configured correctly on the server (i.e. service not started) or that your credentials are incorrect. Try going through the steps in the series above and getting the basics to work work leaving TeamCity until the very end. Get it deploying from Visual Studio then the command line and work from there.


Here is my deployment string for our TeamCity publish:

/t:ResolveReferences;_CopyWebApplication /p:OutDir=..\..\..\build\Framework.Production\bin\;WebProjectOutputDir=..\..\..\build\Framework.Production\

I believe the part you need is /t:ResolveReferences;_CopyWebApplication

0

精彩评论

暂无评论...
验证码 换一张
取 消