首页 > 解决方案 > 获取 azure 管道的状态标志时,repoType 参数指的是什么

问题描述

我正在尝试遵循这些说明

GET https://dev.azure.com/{organization}/{project}/_apis/build/repos/{repoType}/badge?api-version=6.0-preview.2

用于在我的 github 存储库上获取 azure 管道状态徽章。有人可以告诉我 repoType 参数指的是什么吗?说明很有帮助地说它的“存储库类型”实际上什么也没告诉我。

标签: azureazure-pipelinespipelinestatus

解决方案


我猜这是来自RepositoryTypes的一个字段

Bitbucket
Git
GitHub
GitHubEnterprise
Svn
TfsGit
TfsVersionControl

推荐阅读