【jenkins】插件管理

版权声明:本文为博主原创文章,未经博主允许不得转载。 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

参考:
1. https://stackoverflow.com/questions/9815273/how-to-get-a-list-of-installed-jenkins-plugins-with-name-and-version-pair

猜你喜欢

转载自blog.csdn.net/heiyouhei123/article/details/82110131