我可以从Windows命令行触发Team City生成吗?

我可以从Windows命令行触发Team City生成吗?,windows,command-line,teamcity,command-prompt,Windows,Command Line,Teamcity,Command Prompt,我在Teamcity的Windows系统中设置了一个Teamcity项目。 但我希望从Windows命令提示符触发Teamcity构建。 这可能吗? 如果是,是否有相关文档或设置指南?摘自TeamCity文档: curl -v -u user:password http://teamcity.server.url:8111/app/rest/buildQueue --request POST --header "Content-Type:application/xml" --data-binar

我在Teamcity的Windows系统中设置了一个Teamcity项目。 但我希望从Windows命令提示符触发Teamcity构建。 这可能吗?
如果是,是否有相关文档或设置指南?

摘自TeamCity文档:

curl -v -u user:password http://teamcity.server.url:8111/app/rest/buildQueue --request POST --header "Content-Type:application/xml" --data-binary @build.xml

摘自TeamCity文档:

curl -v -u user:password http://teamcity.server.url:8111/app/rest/buildQueue --request POST --header "Content-Type:application/xml" --data-binary @build.xml

谢谢您的回复!我想知道我需要在哪里存储具有生成id和代理id的build.xml?尝试使用页面中的生成配置xml:“感谢回复!我想知道我需要在哪里存储具有生成id和代理id的build.xml?尝试使用页面中的生成配置xml:”