Teamcity Parameters Priority - Project level vs Template level

Completed

I have a Teamcity project, a build configuration template under it and a build attached/derived from this template. There is a variable defined in project with some value. I have overriden its value in template. However build still shows project value.

I was under the assumption that project values are inherited in template and then inherited in build, so build would show template level value however this scenario is exactly opposite. Is this correct behaviour or Am I understanding this wrong.

Project

Template

Build

TeamCity Enterprise 2019.2.1 (build 71758)

1 comment
Comment actions Permalink

Solved it :)

The template was in root project and property was overrided in sub project. The build was under sub-project and hence was inheriting its value.

0

Please sign in to leave a comment.