This feature is only available in Incredibuild’s Enterprise Plan.
You can receive data about your builds in a JSON file. This allows you to take this data and view it in dashboards using third party tools, as well as store it for reference and analysis.
Support Matrix
Request
Endpoint
Examples:
-
Return all builds:
GET https://10.132.15.166:8000/api/builds?coordinatorId=12345&version=1.5.0 -
Return builds that started after a particular time:
GET https://10.132.15.166:8000/api/builds?coordinatorId=12345&version=1.5.0&buildStartTimeFrom=2023-08-17T16:01:29.000Z -
Return builds run from the Default Build Group:
GET https://10.132.15.166:8000/api/builds?coordinatorId=12345&version=1.5.0&buildGroup=Default -
Return builds with the build type=Rebuild
GET https://10.132.15.166:8000/api/builds?coordinatorId=12345&version=1.5.0&buildType=Rebuild
Response
The response is a JSON file that includes up to 300 builds.
Example Response for 1.5.0
The following example displays the first build that would be included in this JSON. The response may differ slightly if you are using earlier versions of the API.
Extracting More from the Data
Once you have downloaded the build history, you can access it in the database of your choice. This allows you to query the data and learn more. Here are some example queries:The average build duration
The average build duration
How many builds were executed on a particular machine
How many builds were executed on a particular machine
How many helpers were involved in a particular build
How many helpers were involved in a particular build
The total time spend executing tasks on remote helper machines
The total time spend executing tasks on remote helper machines
How many Initiators are active at least once per day
How many Initiators are active at least once per day
How many Helpers are active at least once per day
How many Helpers are active at least once per day
How many builds failed per day
How many builds failed per day
Build Cache analysis
Build Cache analysis