本文介绍了我发布构建工件失败,错误:EPERM:不允许操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


当我尝试在VSO中构建解决方案时,请帮助我解决错误。


所有步骤都可以正常执行,但在最后一步中,它会在尝试将工件发布到定义的路径时失败。


2017-08-02T10:45:53.4224145Z ## [section] Finishing :将文件复制到:$(build.artifactstagingdirectory)

2017-08-02T10:45:53.4224145Z ## [section]开始:发布工件:下降

2017- 08-02T10:45:53.4224145Z ========================================== ====================================

2017-08-02T10: 45:53.4224145Z任务         :发布Build Artifacts $ $ $ $ b 2017-08-02T10:45:53.4224145Z描述  :将构建工件发布到服务器或文件共享

2017-08-02T10:45:53.4224145Z版本      :1.120.1

2017-08-02T10:45:53.4224145Z作者       :Microsoft Corporation

2017-08-02T10:45:53.4224145Z帮助         :[更多信息](


干杯!


Chaminda


Hi,

Please help me with the error I am getting when I try to build the solution in VSO.

All steps are executed fine but in the last step it fails when it tries Publish the artifacts to a defined path.

2017-08-02T10:45:53.4224145Z ##[section]Finishing: Copy Files to: $(build.artifactstagingdirectory)
2017-08-02T10:45:53.4224145Z ##[section]Starting: Publish Artifact: drop
2017-08-02T10:45:53.4224145Z ==============================================================================
2017-08-02T10:45:53.4224145Z Task         : Publish Build Artifacts
2017-08-02T10:45:53.4224145Z Description  : Publish Build artifacts to the server or a file share
2017-08-02T10:45:53.4224145Z Version      : 1.120.1
2017-08-02T10:45:53.4224145Z Author       : Microsoft Corporation
2017-08-02T10:45:53.4224145Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkID=708390)
2017-08-02T10:45:53.4224145Z ==============================================================================
2017-08-02T10:45:53.7036757Z ##[error]Publish build artifacts failed with error: EPERM: operation not permitted, stat '\\xxxxxxxx\20170802.7'
2017-08-02T10:45:53.7193020Z ##[section]Finishing: Publish Artifact: drop
2017-08-02T10:45:53.7193020Z ##[section]Starting: Post Job Cleanup
2017-08-02T10:45:53.7193020Z ##[section]Finishing: Post Job Cleanup
2017-08-02T10:45:53.7349271Z ##[section]Finishing: Build

解决方案


这篇关于我发布构建工件失败,错误:EPERM:不允许操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-27 02:54
查看更多