在TFS 2018中是否有任何自动化的方式来创建集合和项目 [英] Is there any automated way to create a collection and project in TFS 2018

查看:52
本文介绍了在TFS 2018中是否有任何自动化的方式来创建集合和项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很好奇,有什么方法可以在TFS 2018中自动创建集合和项目.

I am curious to know is there any way to create a collection and project in TFS 2018 in an automated way.

类似于我们使用API​​在Bitbucket中的操作方式.

Similar to how we can do in Bitbucket, using the API.

我尝试了互联网上提供的大多数选项.但是没用.

I tried most of the option provided in the internet. But no use.

我正在使用Visual Studio 2017和TFS 2018.

I am using Visual Studio 2017 and TFS 2018.

谢谢

推荐答案

不幸的是,没有自动的方法来创建团队项目集合,您必须收藏命令[TFSConfig] .

Unfortunately, there is no automated way to create a team project collection, you have to Create Team Project Collection in TFS Administration Console. But you can use the TFSConfig Collection command to attach, detach, delete, or clone a team project collection. See Collection command [TFSConfig].

对于团队项目,您可以使用安装VSTS CLI ,阅读入门文章以开始使用它,并参考vsts project 命令.

For team projects, you can create team projects from the command line or scripts using the VSTS CLI. VSTS CLI works with VSTS and Team Foundation Server 2017 Update 2 and later. You could install VSTS CLI, read the get started article to begin using it, and refer to the vsts project command.

这篇关于在TFS 2018中是否有任何自动化的方式来创建集合和项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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