Closed akshaykarle closed 6 years ago
What about checking against the version to decide what to do? You can get the current gocd version from the configurator object now:
The version gets fetched from the api endpoint
Nice, will do that and create a PR :)
With gocd
18.1.0
released, one of the changes made was to move the elastic profiles out of the server config. This breaking the elastic profiles being created with gomatic against gocd 18.1. The error I get trying to update my elastic profile:I could move the elastic config to be out of the
<server>
tag but it would break for all the older gocd versions.