How to stop Jenkins from listing all TFS workspaces

你说的曾经没有我的故事 提交于 2019-12-25 07:26:49

问题


I'm new to Jenkins. I'm using Jenkins 2.5. I'm using the TFS plugin (https://wiki.jenkins-ci.org/display/JENKINS/Team+Foundation+Server+Plugin) 4.1.0. Whenever I run a job that gets latest from TFS, TFS first lists every workspace which is a problem because I work for a large company - it lists 5,000 workspaces. This page https://github.com/jenkinsci/tfs-plugin/pull/65/commits seems to indicate that a ShowWorkspaces flag was added, but I can't find it anywhere. Maybe this was never added. Does anyone have a way to get Jenkins to stop listing all TFS workspaces?


回答1:


It's a known issue for now. And seem to be fixed until version 4.2.0

I'll most likely include a fix for this defect in version 4.2; I'll update this issue once it's released. Olivier Dagenais

Moreover, this flag was added successful https://github.com/jenkinsci/tfs-plugin/pull/65/commits/d56346c4b3989a3edaed547ae55ed39233743be8



来源:https://stackoverflow.com/questions/37399569/how-to-stop-jenkins-from-listing-all-tfs-workspaces

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!