Per our discussion:
Let's add a way to share TeamCity properties between several Build Configurations:
- read default values for the properties from the properties file, similar in format to buildAgent.properties. Agent's and Build Configuration's properties will override these ones.
- read the file name from the property named "teamcity.default.properties", assume implicit default as "teamcity.default.properties". Relative file names to be read from build's working directory, absolute paths should also be supported
- generate no output if the file is not found, log INFO (in the build log too, if possible), if the file was found and used.
Issue wasclosed
| Old | New | |
| Yegor Yarko (yaegor) - 15 months ago (21 Aug 2007 14:10) | ||
Yegor Yarko (yaegor)
16 months ago (12 Jul 2007 18:13)Upon implementation, TW-2886 can be closed as duplicate to this one.
Yegor Yarko (yaegor)
15 months ago (17 Aug 2007 15:40)the message (Default build properties loaded from file C:\Work\buildAgent\work\Server\58166acfd3c3f81b\teamcity.default.properties) is logged into the agent's log, but not to the build log. This seems OK for the time.
Christopher Hamilton (chamilton)
15 months ago (21 Aug 2007 14:10)done