gpt4 book ai didi

TFS 2015 U1 vNext 构建发布工件总是失败,无法将工件与资源关联

转载 作者:行者123 更新时间:2023-12-04 14:38:27 24 4
gpt4 key购买 nike

在尝试使用发布工件任务执行任何 vNext 构建时,我们最终收到以下错误

##[error]Unable to associate artifact with resource at location:[location]

示例日志输出
1 
2016-01-21T19:29:49.9838278Z Executing the powershell script: D:\Agent\tasks\PublishBuildArtifacts\1.0.4\PublishBuildArtifacts.ps1

2
2016-01-21T19:29:50.1713333Z Preparing artifact content in staging folder D:\Agent\_work\1\a...

3
2016-01-21T19:29:50.2338323Z Copying all files from D:\Agent\_work\1\s\ASC\ASC-Dev\CSDChangeControlDispatcher to D:\Agent\_work\1\a\CSDChangeControlDispatcher\CSDChangeControlDispatcher

4
2016-01-21T19:29:50.4838343Z Copying all files from D:\Agent\_work\1\s\ASC\ASC-Dev\PrecompiledWeb\CSDChangeControlDispatcher to D:\Agent\_work\1\a\CSDChangeControlDispatcher\PrecompiledWeb\CSDChangeControlDispatcher

5
2016-01-21T19:29:50.5150903Z Copying artifact content to D:\BuildDrop\ASC Dev vNext\20160121.7...

6
2016-01-21T19:29:50.9369728Z Start: AssociateArtifact

7
2016-01-21T19:29:50.9369728Z ##[error]Unable to associate artifact with resource at location:D:\BuildDrop\ASC Dev vNext\20160121.7.

8
2016-01-21T19:29:50.9369728Z End: AssociateArtifact

最佳答案

问题是您将发布工件的路径指定为“D:\BuildDrop\ASC Dev vNext\20160121.7”。

您应该在路径项中使用“\\my\share”而不是绝对路径。

关于TFS 2015 U1 vNext 构建发布工件总是失败,无法将工件与资源关联,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34933297/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com