在 TFS 中隐藏一些内置的构建/发布任务

在 TFS 中隐藏一些内置的构建/发布任务

问题描述:

TFS 2017 u2.构建/发布定义的任务库中挤满了与我们的软件商店完全无关的任务.它们是内置的,因此无法移除扩展程序.

TFS 2017 u2. The task gallery for build/release definitions is crowded by tasks that are utterly irrelevant to our software shop. They're built-in, so removing the extension is not an option.

有什么办法可以隐藏它们吗?

Any way to hide them?

CAVEAT 我劝阻你:如果你需要重新安装一个任务,这个过程很重要.

CAVEAT I discourage you: if you need to reinstall a Task, the process is non-trivial.

这已经在 在 tfs 上删除自定义安装的构建任务得到了回答一个>

想法是使用tfx build tasks delete.您需要任务的 GUID:快速获取它的方法是查看 https://github.com/Microsoft/vsts-tasks 存储库.

The idea is to use tfx build tasks delete. You need the GUID of the task: a quick way to get it is to look at the task.json file in the https://github.com/Microsoft/vsts-tasks repository.