You can access the agent from any where by injecting the AgentContext object and calling the getBuildAgent method on it.
You can access the agent from any where by injecting the AgentContext
object and calling the getBuildAgent method on it.