【问题标题】:VSO/TFS Build - Get sources folder structureVSO/TFS 构建 - 获取源文件夹结构
【发布时间】:2015-10-25 17:30:39
【问题描述】:

我正在尝试在我们的开发分支上设置持续集成。

下面是我们的文件夹结构:

从“获取源”构建步骤日志中,我可以看到文件是这样同步的:

 Syncing repository: Root (TFVC)
 Getting C:\a\12a34ff5\Root;C7
 Getting C:\a\12a34ff5\Root\global.json;C18
 Getting C:\a\12a34ff5\Root\src;C16
 Getting C:\a\12a34ff5\Root\MyProject.sln;C29
 Getting C:\a\12a34ff5\Root\MyProject.vssscc;C7
 Getting C:\a\12a34ff5\Root\src\MyProject.Api;C16
 Getting C:\a\12a34ff5\Root\src\MyProject.Api\project.json;C18
 ...

为什么不建立项目文件夹?例如,我希望它使用以下文件夹结构:

 Syncing repository: Root (TFVC)
 Getting C:\a\12a34ff5\Root\MyProject\Development;C7
 Getting C:\a\12a34ff5\Root\MyProject\Development\global.json;C18
 Getting C:\a\12a34ff5\Root\MyProject\Development\src;C16
 Getting C:\a\12a34ff5\Root\MyProject\Development\MyProject.sln;C29
 Getting C:\a\12a34ff5\Root\MyProject\Development\MyProject.vssscc;C7
 Getting C:\a\12a34ff5\Root\MyProject\Development\src\MyProject.Api;C16
 Getting C:\a\12a34ff5\Root\MyProject\Development\src\MyProject.Api\project.json;C18
 ...

构建定义中设置的存储库:

构建定义中设置的触发器:

【问题讨论】:

    标签: tfs msbuild tfsbuild azure-devops


    【解决方案1】:

    您永远不会设置文件夹来获取您的开发文件夹。因此,get 是从该文件夹完成的,不包括它。

    它按我预期的那样工作,我没有发现任何问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-08-16
      • 1970-01-01
      • 2014-07-08
      • 1970-01-01
      • 2016-07-17
      • 1970-01-01
      • 2018-11-20
      相关资源
      最近更新 更多