I noticed that New-Item can throw errors when the "pa" folder already exists, which is counter-productive in a pipeline.
Additionally, if I remove files/folders from the BLOB container, a local pipeline agent might still have an old version and azcopy sync does not clean up files that aren't in the source directory anymore, so the pipeline agent can still have old files that will be synced back to the BLOB again.
Hi there,
I noticed that
New-Item
can throw errors when the "pa" folder already exists, which is counter-productive in a pipeline.Additionally, if I remove files/folders from the BLOB container, a local pipeline agent might still have an old version and
azcopy sync
does not clean up files that aren't in the source directory anymore, so the pipeline agent can still have old files that will be synced back to the BLOB again.