A continuation on the answer to this question: Is it possible to add a free text note to a team city build?
In TeamCity custom build dialog there is a field for "Build comments".
Is there a way to access this from within the build? Either as a system property or environment variable?