Parameter Length

Hello-

I am debugging a TeamCity build configuration that is operating erratically for its developer.

One of the first things I've noticed is that they have defined a single parameter to contain *multiple lines of commands*, most of which contain other parameters.

Q: Is there a limit to the length of a parameter?
Q: Have others used this convention?

Much thanks,
Ron

2 comments
Comment actions Permalink

Hi,

You can use multiple lines in parameters. There is no limit to the length of parameter, TeamCity could successfully handle few KBs parameters. But it is recommended to pass scripts as files, not as parameters.

0
Comment actions Permalink

Alina,

Is this still the case that there's no limit? I just tried to create a long parameter and it seems it was cut off at 16,000 characters. That's TC 10.0.3. The parameter was written by the SinCity plugin (https://github.com/sferencik/SinCity).

Thanks,

Sam

0

Please sign in to leave a comment.