You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when executing the build, it finishes as partialy succeeded with the following error message:
Error: Failed rmRF: rm: could not remove directory (code EBUSY): D:\Agent1\_work\13\s
Couldn't delete one or more files
looking into the agent directory, the "S" folder is still there, but empty.
I then tryed using inline poweshell with a 10 second wait pause, but the error still comes up.
any ideas how to post clean up the source folder?
The text was updated successfully, but these errors were encountered:
@hqer2k9 i'm just guessing, but it could be the s folder itself if it's the working directory for the process doing the cleanup. One thing you could try is changing the pattern to $(Agent.BuildDirectory)/**/* and that pattern may avoid the root folder itself.
I set the Build.Clean to all and it does nothing post job. It just clears the directories before pulling sources, not after everything has built successfully - which I would expect it to. Also see microsoft/azure-pipelines-agent#708
Trying to clean up the vnext agent working directory with the "Delete Files" task.
when executing the build, it finishes as partialy succeeded with the following error message:
looking into the agent directory, the "S" folder is still there, but empty.
I then tryed using inline poweshell with a 10 second wait pause, but the error still comes up.
any ideas how to post clean up the source folder?
The text was updated successfully, but these errors were encountered: