how to access server side global properties in agent side code

Hi,

I am working on developing a plugin for teamcity. I have two queries.

1. I have a global settings page under the administration, which has some configurable parameters. How do I access these from the agent side code. At the agent side I have a class extending buildProceesAdopter and another one implementing agentbuildRunner.

2. I have to encrypt the build parameter values at the server side ,and decrypt them in agent side. .At server side I have a class extending RunType. How can I achieve this. I can see that there is a class RSAcipher for decryption/encryption but not sure how I can I use this in my case. Any ideas/ sample code/documentation will be useful for me.

Thanks.

Please sign in to leave a comment.