How to manage TeamCity licenses across the organisation

Answered

Hi Everyone,

Do you know if there is a way to programmatically query the status of licenses on a TeamCity server?

We have about 20 TeamCity servers across the company, and we would like to monitor the Enterprise server licenses and Agent licenses we are using on these servers.

We are currently managing a list, which requires meticulous updates, often! I would like to avoid this constant manual update.

Is there a way to query a TeamCity server and get the number of licenses, perhaps via the REST API?

It will also be very helpful to be able to get the maintenance period of a license.

I'll appriciate any help!

Thanks,

Eyal

1 comment

Hello Eyal,

At the moment there is no REST API available to manage licenses, please watch/vote for the request: https://youtrack.jetbrains.com/issue/TW-29236 and https://youtrack.jetbrains.com/issue/TW-36362.

The list of licenses can be read from the data directory .BuildServer\config\license.keys or the Licenses web page can be parsed.

0

Please sign in to leave a comment.