I'm working on a plugin that implements an AdminPage to configure some connectivity details for integration with 3rd party system.
The AdminPage is using another controller that saves the connectivity details to a config XML file using ChangeListner. (like this one)
Now, when the config is in place and the administrator configured everything, I need to be able to access this information both from my build feature(BuildFeature) and my runner(RunType) in the agent in order to connect to the 3rd party system i'm integrating with.
In the agent side i'm implementing AgentBuildRunner and AgentLifeCycleAdapter.
What will be the best approach for retrieving the plugin information in the agent side(AgentBuildRunner and AgentLifeCycleAdapter)? do you have some open source references?