简体   繁体   中英

Queue TFS 2012 build from Jenkins

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.

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]

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM