Suddenly prompted variable overwrite doesnt work from octo.exe (v7.4.1) and TeamCity (v6.0.1).
Facts:
Variables marked as ‘prompt’
Variables not scoped
Tried with both no default and default value
Tried both with TeamCity and octo.exe
Tried with both the -v and --variable syntax
This has been working previously on some of the projects.
Using OD v. 2020.2.13 - Any input on how to troubleshoot? I’ve tried to add verbose logging to octo.exe to see if it should output which variables it found and will overwrite - but I see nothing.
Any input is greatly appreciated.
Syntax: octo create-release -v BuildNumber:123 --server=https://octopus.xx/api --apikey=API-xxx --project=AA --logLevel=verbose --version="20200819.0.544-master19.7eb8c2cc5c1-ReattachRedeploy" --channel="Re-attach AKS Cluster and Re-deploy Webservice" --package=AAAMlWebService:"20200819.0.544-master.7eb8c2cc5c1"
I think I’ve found the issue here. If you take a look at our documentation for octopus CLI, this parameter only applies to the “Deployment” section. This parameter will only get parsed if you’re actually deploying the release via the same command with --deployto.
Please let me know if that makes sense or if you need more help on this.