<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://drew.invadelabs.com/index.php?action=history&amp;feed=atom&amp;title=ListJenkinsPluginsViaCurl</id>
	<title>ListJenkinsPluginsViaCurl - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://drew.invadelabs.com/index.php?action=history&amp;feed=atom&amp;title=ListJenkinsPluginsViaCurl"/>
	<link rel="alternate" type="text/html" href="https://drew.invadelabs.com/index.php?title=ListJenkinsPluginsViaCurl&amp;action=history"/>
	<updated>2026-05-08T10:48:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://drew.invadelabs.com/index.php?title=ListJenkinsPluginsViaCurl&amp;diff=846&amp;oldid=prev</id>
		<title>Drew: added ListJenkinsPluginsViaCurl</title>
		<link rel="alternate" type="text/html" href="https://drew.invadelabs.com/index.php?title=ListJenkinsPluginsViaCurl&amp;diff=846&amp;oldid=prev"/>
		<updated>2018-01-31T04:49:15Z</updated>

		<summary type="html">&lt;p&gt;added ListJenkinsPluginsViaCurl&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;​Get list of install plugins&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
export JENKINS_HOST=admin:my_awesome_password@localhost:8080&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
curl -sSL &amp;quot;http://$JENKINS_HOST/pluginManager/api/xml?depth=1&amp;amp;xpath=/*/*/shortName|/*/*/version&amp;amp;wrapper=plugins&amp;quot; | perl -pe &amp;#039;s/.*?&amp;lt;shortName&amp;gt;([\w-]+).*?&amp;lt;version&amp;gt;([^&amp;lt;]+)()(&amp;lt;\/\w+&amp;gt;)+/\1 \2\n/g&amp;#039;|sed &amp;#039;s/ /:/&amp;#039;&lt;br /&gt;
JENKINS_HOST=localhost:8080&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example output&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
ace-editor:1.1 aws-java-sdk:1.11.37 bouncycastle-api:2.16.0 branch-api:1.11 cloudbees-folder:5.13 conditional-buildstep:1.3.5 copyartifact:1.38.1 credentials:2.1.8 display-url-api:0.5 durable-task:1.12 git:3.0.0 git-client:2.0.0 git-server:1.7 github:1.22.3 github-api:1.79 handlebars:1.1.1 icon-shim:2.0.3 jackson2-api:2.7.3 javadoc:1.4 job-dsl:1.52 jquery:1.11.2-0 jquery-detached:1.2.1 junit:1.19 mailer:1.18 matrix-auth:1.4 matrix-project:1.7.1 maven-plugin:2.14 momentjs:1.1.1 naginator:1.17.2 parameterized-trigger:2.32 pipeline-build-step:2.3 pipeline-graph-analysis:1.1 pipeline-input-step:2.3 pipeline-milestone-step:1.1 pipeline-rest-api:2.2 pipeline-stage-step:2.2 pipeline-stage-view:2.0 plain-credentials:1.3 run-condition:1.0 s3:0.10.10 scm-api:1.3 script-security:1.24 sonar:2.5 ssh-credentials:1.12 structs:1.5 token-macro:2.0 workflow-aggregator:2.4 workflow-api:2.5 workflow-basic-steps:2.3 workflow-cps:2.17 workflow-cps-global-lib:2.3 workflow-durable-task-step:2.5 workflow-job:2.8 workflow-multibranch:2.8 workflow-scm-step:2.2 workflow-step-api:2.5 workflow-support:2.10&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All on one line with = separator for version&lt;br /&gt;
&amp;lt;syntaxhighlight lang=bash&amp;gt;&lt;br /&gt;
curl -sSL &amp;quot;http://$JENKINS_HOST/pluginManager/api/xml?depth=1&amp;amp;xpath=/*/*/shortName|/*/*/version&amp;amp;wrapper=plugins&amp;quot; | perl -pe &amp;#039;s/.*?&amp;lt;shortName&amp;gt;([\w-]+).*?&amp;lt;version&amp;gt;([^&amp;lt;]+)()(&amp;lt;\/\w+&amp;gt;)+/\1 \2\n/g&amp;#039;|sed &amp;#039;s/ /=/&amp;#039; | sed &amp;#039;:a;N;$!ba;s/\n/ /g&amp;#039;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Drew</name></author>
	</entry>
</feed>