Current Build Version From TeamCity API
Good Morning!
I would like to use the TeamCity REST API to get the current build version like is shown here:
I am able to get to that specific build with this query:
<buildUri>/app/rest/buildTypes/DNX_Platform_BusMonitor_Ci
I can't really see any setting, property, etc, that relates to this current build number. Is there a different API I should be using?
I am using TeamCity version "TeamCity Enterprise 8.1.2 (build 29993)".
Thanks,
Derek
Please sign in to leave a comment.
Hi Derek,
The request that you posted return the info about build configuration, not exact build.
You can use the following request to get the number of the build:
Thanks, Alina! This is exactly what I needed.
--Derek
Hi,
How can I get a list of build numbers?