TFS 2017内部任务组参考 [英] TFS 2017 On Premise Task Group References

查看:70
本文介绍了TFS 2017内部任务组参考的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在运行TFS 2017 On Premise,我想知道是否有可用的升级,允许您查看本文所述的任务组中的引用:  https://docs.microsoft.com/en-我们/ VSTS /建造释放/概念/库/任务组 
如果不是这样的话 - On Premise TFS是否有任何方法可以知道哪些构建使用给定的任务组? 谢谢。

We are running TFS 2017 On Premise and I want to know if there is an upgrade available that allows you to see references from Task Groups as described in this article: https://docs.microsoft.com/en-us/vsts/build-release/concepts/library/task-groups  If not this way - is there any way with On Premise TFS to know what builds are using a given Task Group?  Thanks.

推荐答案

中没有参考标签TFS2017中的任务组,但在TFS2018和VSTS中可用 

There’s no References tab in Tasks Groups in TFS2017, but available in TFS2018 and VSTS.

您可以构建应用以检查构建是否包含任务组通过
Build Definition REST API
,例如:

You can build the app to check the build contains task group or not through Build Definition REST API, for example:

"build": [
        {
            "enabled": true,
            "continueOnError": true,
            "alwaysRun": true,
            "displayName": "Task group: test ",
            "timeoutInMinutes": 0,
            "task": {
                "id": "155baddf-f93b-43e7-975d-6ba2e3d79d4a",
                "versionSpec": "1.*",
                "definitionType": "metaTask"
            },
            "inputs": {}
        }
    ]


definitionType值是任务组的metaTask 。 

The definitionType value is metaTask for task group. 


这篇关于TFS 2017内部任务组参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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