Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

Build.Preview - Agent unable to delete read-only item within staging folder.

$
0
0

Hi!

When using the Build.Preview feature, i'm using Powershell scripts as a PostBuild script where i add some content from the source directory (got from TFS - so read-only) to the staging directory because i finally need it within the build drop folder.

The following build always fails because it cannot delete the read-ony file.

Should i understand the build.preview system process is not run as an administrator? But the windows service actually runs as a local admin... 

Would it also explain that when i delete a build, the web interface ask if i want to delete everything from the build and when i answer "OK" nothing happens... nothing it deleted from the drop folder?

Shall i submit bugs for those actions?


Viewing all articles
Browse latest Browse all 6687


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>