Should artifacts associated with a build record be deleted when the build record is deleted?

牧云@^-^@ 提交于 2019-12-19 10:12:27

问题


I am using the new VSO scriptable build system with an on premise build agent.

The build publishes the following assets to an internal file share.

  1. Install
  2. Symbols to our internal symbol store.

When a build is deleted either manually or based on retention policy the associated assets are not deleted.

Should I expect that assets are deleted when the associated build record is deleted?


回答1:


In 2015 RTM and currently in VSO, server drops are deleted when a build is deleted but drops to UNC shares are not.

We have work on our backlog to address this.

EDIT:

In 2015 QU2, this is enabled. Also if you on-prem agents against VSTS in recent sprints it works. It queues the job to delete the share with the same demands that the build was built with. This likely lands on an agent running as the same account that wrote to the UNC share. It uses the account the agent runs as to attempt to delete the share (best effort)



来源:https://stackoverflow.com/questions/31276466/should-artifacts-associated-with-a-build-record-be-deleted-when-the-build-record

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!