本文介绍了从詹金斯(Jenkins)建立Queue TFS 2012的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从Jenkins触发TFS构建.我发现Jenkins中有一个插件可以用来触发构建链接.但是不确定它是否可以触发TFS中的构建,或者是否确实在TFS源上运行MSBUILD,并且不调用使用构建控制器体系结构进行构建的TFS构建.

Is it possible to trigger a TFS build from Jenkins. I have found that there is a plugin in Jenkins which can be used to trigger 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.

如果有人为此工作,请帮助我提供信息.

Please help me with the information , if anyone has worked on this.

推荐答案

该插件用于从TFS获取资源,并触发Dyen Smith提到的Jenkins中的构建.如果要从Jenkins触发TFS中的构建,则可以添加执行Windows批处理命令"构建步骤,并使用 TFSBuild 命令在TFS中对构建进行排队.

The plugin is used to get resource from TFS and trigger a build in Jenkins as Dylan Smith mentioned. 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.

TFSBuild start /collection:teamProjectCollectionUrl /builddefinition:definitionSpec [/droplocation:droplocation] /getoption:getoption] [/customgetversion:versionSpec] [/priority:priority] [/requestedfor:userName] [/msbuildarguments:args] [/shelveset:shelvesetName [/checkin]] [/silent] [/queue]

这篇关于从詹金斯(Jenkins)建立Queue TFS 2012的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 04:32