Extract files task fails on clean destination
See original GitHub issueEvery once in a while the Extract files task with the clean destination enabled fails after clean. I could not find a pattern. Whenever this happens, the target folder is going missing (is deleted in this task).
2016-11-17T20:45:44.8977942Z Cleaning destination folder before extraction: C:\inetpub\wwwroot_INT-fe
2016-11-17T20:45:45.0384251Z Error: EPERM: operation not permitted, stat 'C:\inetpub\wwwroot_INT-fe'
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (10 by maintainers)
Top Results From Across the Web
Extract Files Task Fails - Visual Studio Feedback
Unable to use Extract Files because the files being extracted are a ... file is updated), so the 'Clean destination folder before extracting'...
Read more >Why does Azure task ExtractFiles sometimes fail?
Cleaning destination folder before extraction: my folder path. Error: Failed rmRF: EPERM: operation not permitted, unlink 'my folder path'.
Read more >ExtractFiles@1 - Extract files v1 task | Microsoft Learn
Extract a variety of archive and compression files such as .7z, .rar, .tar.gz, and .zip. ... Clean destination folder before extracting.
Read more >Chapter 4 - Adding Test to Azure Pipelines
We'll use the "Extract files" task for that. For the "Destination folder", we'll set it as $(System.DefaultWorkingDirectory)/abs - System.
Read more >Extract files task, preserve multiple project artifact hierarchy?
I have server artifacts in *.7z format artifact1.7z artifact2.7z artifact3.7z I have one extract files task setup to a destination folder, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@renatotkr if you want to build the repo (contribute instructions in readme.md), then you can use tfx to upload the copy files task layout that is produced under _build\tasks\copyfiles. you would want to build a release branch, releases/m112. i added a change in m112 so that if you select “clean”, then it only cleans the contents and doesnt drop the folder. that may solve the problem you are running into.
@ericsciple Thanks for the info, I managed to install the latest version following your steps
Did couple of tests and it appears to be working fine
I would like to suggest to automatically update all the in the box tasks more often, 4 months is a long time (if I understood correctly, only for on premise TFS)
Thanks for the help