How to use template configuration parameter in the agent requirements?

Hello,

Do you know if it is possible to define a configuration parameter in a "Project Template" so that it can be automatically replace by a parameter value in the "Agent Requirements" of a project (that inherites from this project template) ?

Example :

Step 1 : In the project template, I define this configuration parameter :

Name : Environment
Kind : Configuration parameter
Value : Default value

Step 2 : In a build configuration template, I define this new parameter in the Agent Requirements :

Parameter name : agentEnvironment
Condition : equals
Value : %Environment%

Step 3 : I create a new Build configuration using the build configuration template.

Step 4 : When filling the form "Create Build Configuration From Template", I set the parameter "Environment" to "PRODUCTION"

Step 5 : The agent requirement parameter value, of my new build configuration, is automatically set to "PRODUCTION"

Steps 1 to 4 are implemented in TC7 but what about Step 5, is it possible to do such a thing?

Thanks in advance for your reply.

Regards,

Please sign in to leave a comment.