Check build logs and buildids from teamcity openApi?

hi all..am new to teamcity....we run some command line scripts in teamcity..Each of the teamcity build has 1 script under it. After run of each script
and hence each build, I need to check for certain messages/string in that build's log and take action based on those log messages.

I went through teamcity api and found 3 necessary interfaces/classes:-

SBuildServer -


> BuildLookupService ---> BuildLogReader.

The problem is that SBuildServer requires many initilization parameters like buildid, buildnumber, buildtype.
How can I information about these parameters from teamcity?. Eg:- What is the parameter that keeps
track of last completed build or last failed build id.



---
Original message URL: http://www.jetbrains.net/devnet/message/5229659#5229659

Please sign in to leave a comment.