1

I have a TFS2015 build definition: after the build step I have a PowerShell step which is publishing the build artifacts.

How can I enabled the Artifacts link in the build summary?

I've noticed that the Artifacts link is visible only when I have a Publish Artifacts build step in the build definition. I can't use this step because I need a specific folders structure in the build drop folder.

4

1 回答 1

1

最简单的方法可能是使用您的 PowerShell 脚本正常准备您的 drop,然后添加 Publish Build Artifacts 任务,以便填充发布的 artifacts 选项卡。

本文中的示例使用 $(build.stagingDirectory) 对文件进行排序,然后在 Publish 任务的 Copy Root 字段中指定该目录。

http://www.codewrecks.com/blog/index.php/2015/06/30/manage-artifacts-with-tfs-build-vnext/

于 2015-12-07T10:36:39.887 回答