I’m deploying a package that has 4 variables but only 1 of them is being applied to all the config files:
The following variables are available:
- [DevInstanceNumber] = ‘3’
- [DevEnvironmentNumber] = ‘1’
- [DevDbInstance] = ‘ProductionMirror’
- [OctopusPackageDirectoryPath] = ‘D:\Inetpub\Dev1\app0.dev.test.com’
- [RipApplicationId] = '00000000-0000-0000-0000-000000000000’
Tasks will be run in the following order: - PowerShellPreDeployScript
- CopyPackage
- XmlConfigTransforms
- XmlConfigVariables
- PowerShellDeployScript
- IisWebSite
- DeletePackageFile
- PowerShellPostDeployScript
Looking for PowerShell scripts named PreDeploy.ps1
No scripts with a .ps1 extension were found.
Extracting package contents to 'D:\Inetpub\Dev1\app0.dev.test.com’
Updating any .config files
Scanning configuration file: D:\Inetpub\Dev1\app0.dev.test.com\Web.config
Setting //appSettings/add[@key=‘ApplicationId’] to '00000000-0000-0000-0000-000000000000’
Scanning configuration file: D:\Inetpub\Dev1\app0.dev.test.com\web.dev.uk.config
Setting //appSettings/add[@key=‘ApplicationId’] to '00000000-0000-0000-0000-000000000000’
Scanning configuration file: D:\Inetpub\Dev1\app0.dev.test.com\web.dev.us.config
Setting //appSettings/add[@key=‘ApplicationId’] to '00000000-0000-0000-0000-000000000000’
Looking for PowerShell scripts named Deploy.ps1
Thanks,
Bill