How to obtain the value of a Configuration Parameter within a Build Step?
Answered
Hello! I have defined a Configuration Parameter in a Template called MainServer with a value of 192.168.0.1.
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!
Please sign in to leave a comment.
Hello,
You can use Command Line runner with "Custom script" run option and echo the parameter:
If you want to pass parameter into the build process or script you should use env or system variables.