gpt4 book ai didi

tfs - VSTS 错误 : "Publishing build artifacts failed with an error: Unable to create directory ' {p}'

转载 作者:行者123 更新时间:2023-12-04 20:29:09 31 4
gpt4 key购买 nike

我在我的本地主机上创建了一个文件夹,并通过授予所有权限来共享它。

现在在构建定义中,我使用了 “发布神器”并按以下屏幕截图所示进行配置:

enter image description here

错误:我在构建过程中遇到错误,无法在相应位置发布工件。错误显示在下面的屏幕截图中:

enter image description here

任何帮助将不胜感激。提前致谢。

最佳答案

发布工件构建任务在构建代理上运行。该构建代理无法将本地主机上的文件共享寻址为 \\localhost\something .您应该使用网络上可用的主机名,例如\\mylaptop\publicshare .

事实上,如果构建代理是 VSTS 托管代理,它将无法看到您的文件共享,除非它在 ​​Internet 上可见。基本上,这就是错误消息的内容:

If directory is a file share, please verify the share name is correct, the share is online, and the current process has permission to access the share.

关于tfs - VSTS 错误 : "Publishing build artifacts failed with an error: Unable to create directory ' {p}',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50235239/

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