My name is Alex. We have a setup where we take a package containing a Windows Forms solution and deploy it to an offline package drop location. The package will then be copied to a citrix client and run from there.
When deploying the package to the offline package drop octopus refuses to do any variable substitution and config transformation. It works in all other scenarios where we create a website or install a windows service for example.
The configuration is as follows
- Environment has an offline package drop location
- Build step for project where package will be deployed to offline package drop location. This step has enabled “substitute variables in files” and “configuration transforms”.
When looking at the logs no substitution or transform takes place. I have tried with different values in step 2, but realized it doesnt matter since it will never try
We just upgraded to Octopus 3.5.1, but I dont recall it worked before either (not sure though since step configuration was incorrect and in a trial state from our part)
== Success: Step 1: NFS ==
11:26:08 Verbose | NFS completed
| Success: Nuget Pick-up location
11:26:08 Verbose | Octopus Server version: 3.5.1+Branch.master.Sha.4feefbec21f18bc1b1908b5721dd03570fec86a6
11:26:08 Info | Deploying package ‘\XXXX\DK-regional\WW\NFS\NFS\Octopus\Test\NFS\0.0.12726\Packages\ALD.Windows.Forms.Nfs.0.0.12726_C2D4B8A33EF3F8408A02300DCEE10257.nupkg’ to machine ‘\XXXX\DK-regional\WW\NFS\NFS\Octopus’
11:26:08 Verbose | Appending deploy-package command to offline-deploy script
11:26:08 Verbose | Creating variables file ‘\XXXXX\DK-regional\WW\NFS\NFS\Octopus\Test\NFS\0.0.12726\Variables\Nuget Pick-up location.NFS.NFS.variables.json’
11:26:08 Verbose | Removing previous offline deployment file ‘\XXXX\DK-regional\WW\NFS\NFS\Octopus\Test\NFS\0.0.12726\Nuget Pick-up location.NFS.Deployments-6400.cmd’
11:26:08 Verbose | Removing previous offline deployment file ‘\XXXX\DK-regional\WW\NFS\NFS\Octopus\Test\NFS\0.0.12726\Nuget Pick-up location.NFS.Deployments-6400.ps1’
11:26:08 Verbose | Adding journal entry:
| == Success: Step 2: Database migrations ==
XXXX is a file share
Really appreciate any help!