views:

172

answers:

2

I'm in the process of setting up a proper CI environment and am currently evaluation TeamCity. (So my TeamCity experience is non-existent.).

I've performed a default install of TeamCity 5.0.1 Professional in a clean Windows XP (for now) VM.

I've created my project and pointed it to my source repository and queued up a build.

However, I don't see any Build Agents installed/available via the Team City web interface. I've checked and there is a 'Team City Build Agent' service installed and it's running. I've also reviewed the log files in the buildAgent folder and don't see anything that would lead me to an error.

Is there a step or concept that I'm missing here on getting the default Build Agent to become available to Team City? I'm not trying to do anything complicated with the build. (at this point, I just want to pull my source down from the repository)

+1  A: 

Right after a clean install you should see one build agent - the local machine. I don't think this has anything to do with you even having to have a project defined. IMHO you something went wrong with the installation.

Filip

Filip Kierzek
I'm going to accept this since I'm assuming that something went wrong with my initial installation. Rather than fighting with TeamCity to resolve this, I gave Hudson a shot and am going to use that for my CI solution instead.
Peter Bernier
+1  A: 

I had exactly the same problem. After going through settings, reinstalling the agent etc, I found that the problem was rather simple - the TeamCity agent placed a wrong teamcity URL in it's property (and other paths as well).

Find the buildagent.properties file ( buildAgentInstallDir\conf\buildagent.properties), and you'll probably see that all of the lines have 'escape' characters in them (e.g. serverUrl=http\://localhost\:8090/ )

Modify the file to remove escape chars (i.e. links should be plain like: serverUrl=http://localhost:8090/ , env.TEAMCITY_JRE=C:\Program Files\TeamCity\BuildAgentInstalled\jre and similar)

Hope this helps...

veljkoz