Professional Server license grants you the right to:
If you require additional build agents or build configurations, you can purchase additional Build Agent license for $299. Each additional Build Agent license connects 1 additional build agent and adds 10 more build configurations to your Professional Server. To qualify for unlimited number of build configurations, you should purchase Enterprise Server License for $1999.
For more details, please see JetBrains TeamCity License Agreement.