conditional parameter interpolation

Hello there.
In my build configuration I want to use an agent parameter, if present.  But without making the presence of this parameter an implicit agent requirement.
Is it possible to somehow do a conditional interpolation, e.g. "value=%system.parameter?not-present% or something like that?  Merely referencing the %system.parameter% in a build configuration will make it a requirement.

Also, what is the priority of configuration parameters? I imagine that agent paremters (from agent.properties) are overridden by any parameters specified in the build configuration.

0
1 comment
Hi,

There are no conditional parameters in that sense.
The agent parameters are mainly intended to be used with agent requirements, and referencing the parameter that is defined only on the agent, without defining it in the build configuration, will make it an agent requirement.
The build agent parameter's value will be overridden by the build configuration parameter's value if both are defined.
Could you provide more details on what scenario you want to achieve? 

Best regards,
Anton
0

Please sign in to leave a comment.