access predefined parameters in an ant script

Is it possible to access the predefined parameters (e.g. teamcity.agent.tools.dir) in an ant script without define it as a system parameter? I want to keep the number of parameters in the template as low as possible.

2 comments

Hi,

No, it is impossible, configuration parameters are used only to share settings within a build configuration. In build scripts system parameters should be used.

0

Thanks for the quick reply.

0

Please sign in to leave a comment.