Hello,
We have just started using the Offline Deployment Target in Octopus Server v3, and on the whole, this has been working really well, we just have a couple niggles that we are hoping that you can help with.
When we created the deployment target, we were asked for a “Drop folder location”, which we gave as \\OfflinePackages. As expected, once a release was promoted to the Deployment Target, the files were copied into this folder location. We then proceeded to copy those files onto the actual deployment server, as it is not possible to access that share from the deployment server.
When we then tried to run the cmd file on the target machine, it complained that it couldn’t locate/access the \\OfflinePackages folder. A quick search of the files in the package folder showed that it existed in a number of files as the value of the “Octopus.Tentacle.CurrentDeployment.PackageFilePath” variable. In order to progress, we did a text based search/replace of this value, and replaced it with the actual location of the installation package. While this works, it seems like we must be missing something.
Is it possible to override this value in the installation cmd/ps1 file? If so, how can we go about doing that? I didn’t see anything in the documentation regarding this, but I might have missed it.
Thanks
Gary