[英]Queue TFS 2012 build from Jenkins
Is it possible to trigger a TFS build from Jenkins. 是否可以从Jenkins触发TFS构建。 I have found that there is a plugin in Jenkins which can be used to trigger build Link .
我发现Jenkins中有一个插件可以用来触发build Link 。 But not sure if it can actually trigger build in TFS or it actually runs a MSBUILD on the TFS source, and does not invoke a TFS build which uses the build controller architecture for the build.
但是不确定它是否可以触发TFS中的构建,或者是否确实在TFS源上运行MSBUILD,并且不调用使用构建控制器体系结构进行构建的TFS构建。
Please help me with the information , if anyone has worked on this. 如果有人为此工作,请帮助我提供信息。
The plugin is used to get resource from TFS and trigger a build in Jenkins as Dylan Smith mentioned. 该插件用于从TFS获取资源,并触发Dyen Smith提到的Jenkins构建。 If you want to trigger a build in TFS from Jenkins , you can add a "Execute Windows batch command" build step and use TFSBuild command to queue a build in TFS.
如果要从Jenkins触发TFS中的构建,则可以添加“执行Windows批处理命令”构建步骤,并使用TFSBuild命令将TFS中的构建排队。
TFSBuild start /collection:teamProjectCollectionUrl /builddefinition:definitionSpec [/droplocation:droplocation] /getoption:getoption] [/customgetversion:versionSpec] [/priority:priority] [/requestedfor:userName] [/msbuildarguments:args] [/shelveset:shelvesetName [/checkin]] [/silent] [/queue]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.