• Setup a SQL Server to host TeamCity DB.
  • Setup a VM to host TeamCity


  • Setup VM for TeamCity
  • Settings for VM
    • Name: ci-fieldlevel.cloudapp.net
    • Configure DNS for teamcity.fieldlevel.com to point here.

Create SQL DB on existing DB Server

@Location: New Portal

  • Choose + New
  • Choose SQL Database
  • Name: FlTeamCity
  • Create a new server.
    • Server Name: deploy.database.windows.net
    • Set Server and admin & password.
    • Set Location: Central US
  • Select Source: Blank DB
  • Select Pricing Tier: S0
  • Set Colation: SQLLatin1GeneralCP1CI_AS
  • Set Resource Group: "Fl-Deploy"
  • Allow Access from VM to DB

Install TeamCity on VM

  • Download and Install TeamCity
  • Run installer and click next through default settings until asked about specifying a user to run as.
  • Choose to run as SYSTEM account for both questions.
  • TeamCity server will load, choose default Data directory. Click proceed.
  • Download JDBC SQL Drivers https://www.microsoft.com/en-us/download/confirmation.aspx?id=11774
  • Extract the files to your downloads dir.
  • Copy the sqljdbc4.jar file to C:\Windows\SysWOW64\config\systemprofile.BuildServer\lib\
  • Select DB Type of MS SQL Server
  • Set credentials and url for DB.
    • Host: deploy.database.windows.net:1433
    • DB Instance: deploy
    • DB Name: FlTeamCity
  • Set Auth to SQL Server Authentication
    • Set username / password
  • Wait for DB to setup.
  • Localhost will startup.
  • Set TeamCity login credentials. Login.

Install Visual Studio 2015

Enable TeamCity NuGet Feed

Helpful Info

DataDirectory / Builds

If you used the defaults during install, your data directory will be here: C:\Windows\SysWOW64\config\systemprofile\.BuildServer

And your build cache can be found here:

C:\Windows\SysWOW64\config\systemprofile\.BuildServer\system\artifacts\FieldLevel\Build & Test

blog comments powered by Disqus


01 September 2015