Skip to content
Shay Rojansky edited this page Nov 30, 2013 · 6 revisions

This page describes the steps used to set up the Npgsql build server.

Install all supported versions of the Postgresql backend

At the time of writing, this means 8.4, 9.0, 9.1, 9.2, 9.3. They are configured on ports 5484, 5490, 5491, 5492, 5493.

The parameterized unit tests look at the environment variables NPGSQL_TEST_DB_8.4, NPGSQL_TEST_DB_9.0 and so on for the connection strings to the above. Set them up in TeamCity on the Npgsql project level, in the parameters tab.

Install .NET SDKs for all supported .NET versions

While installing the SDK for .NET 4.0, I had this problem: http://support.microsoft.com/kb/2717426

Give agent service start/stop permissions

When upgrading TeamCity, the agent needs to be able to stop and start the Windows service. This is how you can grant a normal user specific permissions on specific services:

Update build status back in github

  • Download the plugin from https://github.com/jonnyzzz/TeamCity.GitHub, get the ZIP
  • Drop the ZIP in the TeamCity content dir's plugins subdir
  • Add the Build Feature "Report change status to GitHub". Configure everything appropriately, and be sure the user you set up has push access to the repository!