To get notification of build completion on build agent using Teamcity api
Hi All,
Can anyone please tell me how to identify build completion on an agent machine using teamcity API. I also need to know the status of the build and invoke a cleanup process depending on the status on the agent machine.
Regards,
Shibu
Please sign in to leave a comment.
Hello,
Do you mean the current build on the agent?
You can implement AgentLifeCycleListener.buildFinished
Status of the build is calculated on the server side, so you will need to get that information from the server. e.g. via REST API
BTW, Can you share what kind of plugin are you building?