揭露哈德森系统信息到远程API [英] Expose Hudson system info to remote API
问题描述
我想知道是否有人已经能够揭露哈德森/詹金斯系统信息到远程API?
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.
目前,我只想获得java.home目录,所以我可以解决的Java版本正在使用上构建一个秀(默认)作为jdkVersion。但也想一些负载统计/内存的使用是可能的。
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.
推荐答案
我认为你可以找到詹金斯维基的 https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API
I think you can find this information in the Jenkins wiki https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API
这篇关于揭露哈德森系统信息到远程API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!