How to access last message from agent via REST API call?

I'm looking for a rest api call to retrieve the last message from the agent. The page of a build running has this info to detect hanging builds i believe:

I am trying to get that 1h:05m ago, but through a rest api call. I've checked the REST API documentation page: https://confluence.jetbrains.com/display/TCD10/REST+API#RESTAPI-Agents

I'm not sure if it would be through the build log, or agent log. Inspecting the network on the page, it seems to be updating via /viewLog.html. Anyone know how I can access this information?

Thanks :)

0
1 comment

Hi,

 

the last message from the agent is usually the last line of the build log. What would you like to do with this information? Maybe there is an easier way to do it.

0

Please sign in to leave a comment.