How to make calls between plugins

Hi,

 

I am trying to write a plugin that can obtain cloud agent profiles and check their configuration parameters and environmental parameters.   What is the best way to make calls to other plugins from my plugin so I can obtain that data?  I noticed there isn't a great web api to hit to obtain this data, and the plugin is built into TeamCity itself.  Any help would be appreciated.

 

Thanks!

2 comments
Comment actions Permalink

Hi, you can call jetbrains.buildServer.clouds.server.impl.CloudManagerFacade#listAllProfiles to get all profiles.

0
Comment actions Permalink

Hey Sergey,

 

I'm using TeamCity 2019.2 but I don't see clouds as an option in the server-api library. Is there a different library I need to be using?

0

Please sign in to leave a comment.