teamcity 未执行 msbuild 命令
我在 teamcity 中有一个打包和部署的配置。我正在使用以下内容在远程服务器上打包和部署,
/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%
它只是构建项目而不做任何事情。知道我在这里缺少什么吗?构建中缺少制作包的过程。验证 Web 部署包/发布。请帮忙
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 missing here. Process that makes a package is missing from build. Validating Web Deploy package/publish. plz help
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看看你部署错了! TeamCity、Subversion 和Web部署系列。我怀疑服务器上的 Web 部署配置不正确(即服务未启动)或者您的凭据不正确。尝试完成上述系列中的步骤,并掌握工作的基础知识,直到最后离开 TeamCity。从 Visual Studio 部署它,然后使用命令行并从那里开始工作。
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.
这是我的 TeamCity 发布的部署字符串:
我相信您需要的部分是
/t:ResolveReferences;_CopyWebApplication
Here is my deployment string for our TeamCity publish:
I believe the part you need is
/t:ResolveReferences;_CopyWebApplication