On Ubuntu:
The BASEDIR environment variable is not defined correctly. This environment variable is needed to run this program
Dont fall into the same trap as me and remember to give executive permissions to the .sh and .jar files in TeamCity/bin after uploading the new TeamCity files from Windows.
By the way – to include a build-status of your Teamcity installation in trac create a file TeamCityPlugin.py in your trac/plugins folder:
from trac.wiki.macros import WikiMacroBase
import urllib
class TeamCityStatusMacro(WikiMacroBase):
"""Inserts the current build status into the wiki page."""
def expand_macro(self, formatter, name, args):
res=urllib.urlopen('Http://path-to-teamcity:8111/externalStatus.html').read()
return res











