在 tfs 上删除自定义安装的构建任务 [英] Remove custom installed build task on tfs

查看:20
本文介绍了在 tfs 上删除自定义安装的构建任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 TFS 上安装了一些自定义构建任务:

I have installed few custom build tasks on TFS:

我有相同任务的新版本,但无法更新:

I have new version of same task, but can't update:

如何从 tfs 卸载自定义构建任务或如何使用新版本更新现有版本?

How do I uninstall custom build task from tfs or how to update existing with new version?

推荐答案

您说的是 TFS,所以我假设您使用的是 TFS2015 U2 或更高版本.它还假设您对 TFS API 实例使用基本身份验证.

You're saying TFS so I will assume you're using TFS2015 U2 or greater. It also assumes you're using basic authentication with your TFS API instances.

如果您没有基本身份验证,请查看this answer 使用 Fiddler 的技巧.

If you DON'T have Basic auth, check out this answer for a trick using Fiddler.

您可以尝试使用 tfs-cli 并使用命令来删除任务在构建任务页面下找到.

You can attempt to remove the task by using the tfs-cli and using the commands found under the Build Tasks page.

注意:这需要你安装 node.js

效果如下:

tfx login --auth-type basic
TFS Cross Platform Command Line Interface v0.3.9
Copyright Microsoft Corporation
>Service URL: https://tfs:8080/
>Username: DOMAIN\USER
>Password:

tfx build tasks delete --task-id [guid from error message]

这篇关于在 tfs 上删除自定义安装的构建任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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