Agra (build 3274) problem (and solution)


Just a warning to those who will be trying build 3274 (the recent TeamCity 1.5 beta that was released. Code name: Agra). If you start a build and get the following error fairly immediately:
"java.lang.Error: getenv no longer supported, use properties and -D instead:"

...the workaround is to pass the system property to the build agent. To do this, I did the following:
1) Stopped TeamCity.
2) Added the following line to: buildAgent/conf/
3) Restarted TeamCity.

Thanks to Kir for the workaround.


Please sign in to leave a comment.