Octopus Deploy JSON Configuration Variable Feature not working -


i must missing simple json configuration variable feature. have following json:

 {   "eventprocessorfactory": "factory"   "hubconfiguration": [     {       "archivestorageconnectionstring": "connection string"       "archivestoragecontainername": "containername"       "eventhubgroupname": "ehs-peds-dev"     }   ],   "heartbeatconfiguration": {     "eventhubgroupname": "groupname",     "eventhubname": "hubname"     "sharedaccesskey": "accesskey"     "sharedaccesskeyname": "eventpublishers",     "endpointurl": "url"   } } 

i want replace archivestorageconnectionstring (and other properties of hubconfiguration) can't figure out correct syntax is. hubconfiguration array of hubconfigurations (although in case have 1).

i've tried

hubconfiguration:1:archivestorageconnectionstring  

but doesn't work. i've tried

 hubconfiguration:0:archivestorageconnectionstring   0:hubconfiguration:0:archivestorageconnectionstring   1:hubconfiguration:1:archivestorageconnectionstring  

but none of seem work. pointers appreciated.

the octopus code matches , replaces variables here:

https://github.com/octopusdeploy/calamari/blob/949008eaaafb8865305c7760e8f8448a5eaabb1a/source/calamari/integration/jsonvariables/jsonconfigurationvariablereplacer.cs

some unit tests here:

https://github.com/octopusdeploy/calamari/blob/949008eaaafb8865305c7760e8f8448a5eaabb1a/source/calamari.tests/fixtures/jsonvariables/jsonconfigurationvariablereplacerfixture.cs

i have expected work:

hubconfiguration:0:archivestorageconnectionstring 

there seem problem json - line should end ,:

"eventprocessorfactory": "factory" 

do output in deployment when convention runs?


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -