Access VCS information on agent inside of the TC plugin

Hello. I'm creating a build feature for the TC and i need to access some VCS information during the build (git/svn revision/branch/author and other things). I extend jetbrains.buildServer.agent.AgentLifeCycleAdapter to invoke my logic, but i'm not sure how i can access VCS information. Any ideas?

Please sign in to leave a comment.