I just upgraded to 1.6.0.1712 yesterday morning. Ever since the upgrade, my deployment script is failing…
I also patched to 1714, some result. See attached logs… success, failure…
It seems the timing of the script is earlier or something? Its like its running before all the files have been extracted.
I run a simple script (Deploy.ps1 attached) that renames a few files based on a deployment variable after the extraction.
ERROR: Rename-Item : Cannot rename because item at ‘C:\Octopus\Deployment\config\envir
2013-05-07 17:59:39 INFO [Deploy Script] ERROR: onment.’ does not exist.
I can validate the files DO EXIST, but maybe there is a second here where there is some overlap, where the files arent present when the script starts to run.
Deploy_Failure.txt (5 KB)
Deploy_Success.txt (7 KB)
Deploy.ps1 (1 KB)