How to obtain the value of a Configuration Parameter within a Build Step?


Hello! I have defined a Configuration Parameter in a Template called MainServer with a value of

I would like to have a build step that will echo the MainServer's value using the Command Line Runner Type.

How do I do that? I understand I can use both System Properties (system.) and Environment Variables (env.), but is it possible for the Configuration Parameter?

Thank you!

1 comment
Comment actions Permalink


You can use Command Line runner with "Custom script" run option and echo the parameter:

echo %MainServer%

If you want to pass parameter into the build process or script you should use env or system variables.


Please sign in to leave a comment.