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:
some unit tests here:
i have expected work:
hubconfiguration:0:archivestorageconnectionstring
there seem problem json - line should end ,:
"eventprocessorfactory": "factory"
do output in deployment when convention runs?
Comments
Post a Comment