Deploy .nupkg on release instead of extracting the contents

Hi

Is it possible to release the .nupkg instead of extracting its contents to a tentacle server.

Hi Jameel,

Thanks for reaching out.

It is not possible to just deploy the .nupkg without extracting its content. By default, Octopus will download the .nupkg at C:\Octopus\Applications.Tentacle\Packages and it will extract the content of it on C:\Octopus\Applications[Environment][PackageID]. If you want to move the .nupkg file to another location, you can use the variable $OctopusParameters[‘Octopus.Tentacle.CurrentDeployment.PackageFilePath’] to get the package full path and move it around using powershell. Keep in mind that that variable is only available on the deployment step, so to make use of it you’re gonna have to enable the Custom Powershell Scripts feature on your deployment step, and put your script to move the file in there.

Thanks!

Dalmiro

Hi Dalmiro

I was aware of the .Tentacle folder but didnt want to have to use custom scripts. Thanks for confirming my thoughts