azure-devops - VSTS 版本中不存在工件目录

标签 azure-devops azure-pipelines

我对 VSTS 中的发布有疑问。虽然我确定它存在并且可以访问,但不知何故无法识别该路径。我试图将文件夹共享给所有人并更改了 VSTS 代理的服务帐户,但它仍然是一样的。有人有想法吗?谢谢

2017-09-29T10:26:47.4300253Z Directory '\\build_ezcm_01\build\Result\EZCM-Maven-CI\20170929.11\drop' does not exist. Falling back to parent directory: \\build_ezcm_01\build\Result\EZCM-Maven-CI\20170929.11
2017-09-29T10:26:47.7079394Z An error occurred during download: Microsoft.VisualStudio.Services.Agent.Worker.Release.Artifacts.ArtifactDownloadException: The artifact directory does not exist: \\build_ezcm_01\build\Result\EZCM-Maven-CI\20170929.11. It can happen if the password of the account factoryvm-az179\buildguest is changed recently and is not updated for the agent. If this is the case, please consider re-configuring the agent.
   at Microsoft.VisualStudio.Services.Agent.Worker.Release.Artifacts.BuildArtifact.<DownloadArtifactAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.Worker.Release.Artifacts.BuildArtifact.<DownloadAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.Worker.Release.ReleaseJobExtension.<>c__DisplayClass34_2.<<DownloadArtifacts>b__2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.Worker.Release.RetryExecutor.<ExecuteAsync>d__20.MoveNext()

最佳答案

检查您发布的代理队列。

我收到关于 FactoryVM 和密码的相同错误消息 - 我正在尝试使用网络共享进行 nuget 推送。当 nuget 任务是构建的一部分时(跳过工件并从构建目录推送),它工作得很好,但是当我将它移动到一个版本并且不得不从我的工件的文件共享中获取包时开始失败。

事实证明,我新创建的版本使用的是托管队列 (VS2017),而我使用的是专用代理。在(当前新的)编辑器中,这可以通过单击“任务”下的“代理阶段” block 来设置。切换队列解决了这个问题。

change agent

关于azure-devops - VSTS 版本中不存在工件目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46487041/

相关文章:

azure-devops - 如何从发布任务修改 Azure DevOps 发布定义变量?

azure - 无法使用 Azure DevOps Pull 请求对构建错误进行排队

git - 如何在同一存储库的 README Markdown 文件中显示(链接到/超链接)Azure DevOps Git 存储库中的图像?

azure-devops - 在 YAML 部署作业中部署后检查应用程序运行状况端点的最佳方法?

azure - 将 VS2017 Azure DevOps 管道迁移到 VS2019

azure - 无法在 Azure Pipelines 中授权变量组

azure-devops - OctoPack 在 TFS 构建中失败

windows - 发布管理客户端与 tfs 2018 的兼容性

azure-devops - 带有 git-flow 的 Azure DevOps 发布管道

azure-devops - 运行 Invoke-RestMethod 所需的权限才能在 Azure DevOps 中运行发布