Here's what we are trying to do. We have a template in which we define a prompt select parameter that asks the user to select a sever to deploy to. What we would like to do is to be able to override the items in the select once the template is attached to a build configuration. We tried a lot of things, but the easiest one to explain is the one below.
1. target.server.name.spec parameter. We set the value for this guy to be the raw spec: " select description='Please specify the target server for the deployment' data_1='NotSet' display='prompt' label='Server Name' data_4='sever2' data_3='server1' "
2. target.server.name. We try to set the raw value of the spec for this parameter to be the previous parameter. so %target.server.name.spec%
The idea is that once we attach the template to the BC we can override the value of the target.server.name.spec to have different items.
The setup above does not work. When we try to save the definition of the target.server.name parameter, we get a "Unknown parameter type: '%target.server.name.spec%'" message
So we tried to move the type out of the value of %target.server.name.spec%:
1. target.server.name.spec parameter. " description='Please specify the target server for the deployment' data_1='NotSet' display='prompt' label='Server Name' data_4='sever2' data_3='server1' "
2. target.server.name. select %target.server.name.spec%
If we do that, we get a "Failed to parse parameter specification" message.
Has anyone successfully used parameters in the raw value of another parameter's spec? If so can you please describe how you did it?
We are on Teamcity 8.1.4.