I am trying to pass a teamcity parameter (the project name) to a command line, but the command line does not pick it up. From teamcity's side, what is the way to do this?
I had done it before but something changed!
Thanks
Just put %paramater_name%
into Custom script or Command parameters fields.
In order to pass parameter to the script you should define either
environment or system parameter in your build configuration. A name of the parameter should
start with evn.
or system.
. Parameters without
such prefixes are called configuration parameters and they are
not passed to the build. See documentation for details (I assume you are using TeamCity 6.5).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With