Re: Error using gerrit-rest-java-client

2020-04-25 Thread Liejun Tao
Thanks for the suggestion. I will have to do so if I couldn't figure out a fix. I intend to run it on the Jenkins master for 2 reasons. 1. The Jenkins master has no static working node. Each build task will get a dynamically provisioned worker node. 2. The task which uses the library is very brie

Re: Error using gerrit-rest-java-client

2020-04-23 Thread Mark Waite
Wouldn't it be much safer to run a separate program to use that library? By loading the library into the Jenkins master process you are placing the Jenkins master at risk so that you can perform REST API calls to Gerrit. It is likely also much more difficult to test the REST API calls since you mu

Error using gerrit-rest-java-client

2020-04-21 Thread Liejun Tao
Hi, I'm seeking some help to use gerrit-rest-java-client in Jenkins Shared library. It seems more suitable to seek help in Gerrit forum, but I think there are many Jenkins experts here and if someone uses Gerrit-Jenkins interaction could he