Uploading Nuget Package Before Deploy

Hi There,

Is there a way in which I can tell octopus to upload a NuGet package, but not deploy it. I am trying to minimize the amount of time a server is out of the load balancer.

Many thanks,


Hi Josh,

Thanks for getting in touch.

If you don’t configure an IIS site to deploy the package on and you don’t setup a Custom Installation Directory either, Octopus will just download the package to your server on an Octopus’ folder.

If you want to check the full path of the package on your server, you can use the variable $OctopusParameters[‘Octopus.Tentacle.CurrentDeployment.PackageFilePath’] . Keep in mind this variable will only be available on the deployment step, so if you want to get the value out of it, you’re gonna have to enable the Custom Powershell Scripts feature on that step and put the variable there.

Hope this helps. If its not what you’re looking for, feel free to reply back :slight_smile:



Thank you for the quick response, that’s perfect :slight_smile:

Hi Josh,

Quick FYI - Octopus will nonetheless extract the content of the package on C:\Octopus\Applications[Environment name](if installed on default path). This is by design and it cannot be turned off.