Jenkins Team Foundation Server插件和构建

问题描述 投票:0回答:2

我正在尝试将Jenkins Team Foundation Server插件配置到我们的云VSTS服务器。使用Personaltokens的个人访问给了所有范围。

TFS / Team Services中的测试显示:通过SOAP API获得成功。但是当我开始的时候

我得到的构建:查询返回没有结果!

我想这可能与项目路径有关,因为我说TFS / Team Services中的测试显示:通过SOAP API成功。

这是我输入网址的方式:

收集网址:https://projectdev.visualstudio.com/

项目路径:$/project.Generics/project.Generic

得到了VSTS -> Code -> Files的项目路径

尝试添加/ DefaultCollection也没有帮助

我错过了什么?您的帮助将不胜感激!

jenkins azure-devops jenkins-plugins azure-pipelines azure-pipelines-build-task
2个回答
0
投票

Team Foundation Server Plugin可以在jenkins Job中集成TFS / VSTS源声控(Git或TFVC),并触发TFS / VSTS版本(不是VSTS版本)。

您可以在tfs-plugin README找到详细信息:

此插件通过连接到Team Foundation Server(TFS)和Visual Studio Team Services(团队服务),将Team Foundation Version Control(也称为TFVC)和Git集成到Jenkins。它还允许您通过Jenkins中的构建后步骤在Visual Studio Team Services中触发发布。


0
投票

“收集网址”对我来说是正确的。

“项目路径”应为“$ / {Project} / {FolderPath}”。

在您的情况下,您的项目名为“project.Generics”和“project.Generic”是项目中的文件夹吗?

© www.soinside.com 2019 - 2024. All rights reserved.