如何阻止Jenkins列出所有TFS工作区 [英] How to stop Jenkins from listing all TFS workspaces

查看:300
本文介绍了如何阻止Jenkins列出所有TFS工作区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是詹金斯的新手.我正在使用Jenkins 2.5.我正在使用TFS插件( https://wiki.jenkins -ci.org/display/JENKINS/Team+Foundation+Server+Plugin )4.1.0.每当我运行从TFS获得的最新工作时,TFS都会首先列出每个工作区,这是一个问题,因为我在一家大公司工作-它列出了5,000个工作区.此页面 https://github.com/jenkinsci/tfs-plugin/pull/65 /commits 似乎表明已添加ShowWorkspaces标志,但我在任何地方都找不到它.也许从来没有添加过.有没有人能让Jenkins停止列出所有TFS工作区?

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?

推荐答案

它是一个已知的.并且似乎在4.2.0版之前已得到修复

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

我很可能会在版本4.2中包含针对此缺陷的修复程序;患病的 发布此问题后,请对其进行更新. Olivier Dagenais

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

此外,已成功成功添加此标志 https://github.com com/jenkinsci/tfs-plugin/pull/65/commits/d56346c4b3989a3edaed547ae55ed39233743be8

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

这篇关于如何阻止Jenkins列出所有TFS工作区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆