How to get list of all the plugins installed on jenkins server without cli or without logging in ?
1,903 views
Skip to first unread message
user_dev
unread,
Aug 31, 2016, 12:08:04 PM8/31/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
Hi , I need to check what are plugins installed on a specific jenkins server. I tried to use cli but it needs jnlp port which I cannot configure as i donot have permission. Is there a way I can find out this information. I checked config.xml but it do not mentions the list of plugins.
Alex Domoradov
unread,
Sep 2, 2016, 4:29:50 AM9/2/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
response = requests.get('http://admin:token@JENKINS_URL:8080/pluginManager/api/json?depth=1&?xpath=/*/*shortName|/*/*/version') data = response.json()['plugins']
for plugin in data: print "%s:%s" % (plugin["shortName"], plugin["version"])
It will print something like the following momentjs:1.1.1 build-pipeline-plugin:1.5.4 pipeline-input-step:2.1 branch-api:1.10 workflow-durable-task-step:2.4