how to find the teamcity latest build id for a buildTypeId

 We are developing a tool which should bring the latest build id for a buildTypeId. so that we can form the url as http://blah.blah.../ 3348508:id/packages.json

 

which will give a latest package numbers. 

 

from UI if we try with browser its so easy.. however we wanted to do this programatically in java.. 

 

please help me on this.. how to do this ? any java dependency ? any jar which has a api to do ths job.. please help

0
1 comment

Hi,

Using the REST API is probably the easiest option. More information on how to use it to find builds here: https://confluence.jetbrains.com/display/TCD10/REST+API#RESTAPI-BuildLocator

0

Please sign in to leave a comment.