版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/heiyouhei123/article/details/82110131
1. 查询已安装插件的列表
直接通过pluginManager
的查询API即可获取, 通过访问如下的路径来获取:
http://yourJenkinsHostInfo/pluginManager/api/xml?depth=1&xpath=/*/*/shortName|/*/*/version&wrapper=plugins
2. 简要了解已安装插件的信息
通过如下路径来了解
http://yourJenkinsHostInfo/pluginManager/api/xml?depth=1