We are using Octopus deploy for our CICD pipeline for Angular JS project.
I am using a “Run a Script” step in the project which has a powershell script which deletes the old file from the folder and copy a newly uploaded pakcage. It works fine 99% of time but sometimes it fails with the access denied error while copying the file. I can’t find much information on this error. Can someone please suggest me a way to find out what exactly could be wrong here.
Thanks & Regards,