Difference between teamcity.build.workingDir and system.teamcity.build.workingDir
Hi, I'd like to know the difference between the teamcity.build.workingDir and system.teamcity.build.workingDir build parameters. I've seen cases where a system.* parameter is deprecated in favor of one without the 'system.' prefix; however, in this case I can't find such documentation. Thanks.
Please sign in to leave a comment.
That's not really the case that `system.*` parameters may be or getting deprecated.
Properties with `system.*` are passed as Java/.NET properties to the running build runners on the agent side. Without it - the values are only used in TeamCity configuration (for substitution in scripts/parameters). Other than that, these parameters have the same value.
Best regards,
Anton
Hi, thanks for the response. Could you please indicate where is this documented?
In general description of the parameters types: https://www.jetbrains.com/help/teamcity/2024.07/configuring-build-parameters.html.
The parameters without the `system.*` are configuration parameters, whose primary objective is to share settings within a build configuration. TeamCity does not pass parameters of this type to a build process (that is, these parameters are not accessible by a build script engine).
Best regards,
Anton