Expose Hudson system info to remote API

北战南征 提交于 2019-12-11 02:15:13

问题


I was wondering if anyone has been able to expose the system info from Hudson/Jenkins to the remote API?

I manage multiple instances and would like to be able to gather some basic information and statistics about each instance together to be able to compare them.

At the moment, I would just like to obtain the java.home directory so I can resolve the version of Java being used on builds that show "(Default)" as the jdkVersion. But would also like some load statistics/memory usage is possible.


回答1:


I think you can find this information in the Jenkins wiki https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API



来源:https://stackoverflow.com/questions/7064119/expose-hudson-system-info-to-remote-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!