Merge lp://staging/~zaro0508/python-jenkins/plugin-info-method into lp://staging/~python-jenkins-developers/python-jenkins/trunk

Proposed by Khai Do
Status: Needs review
Proposed branch: lp://staging/~zaro0508/python-jenkins/plugin-info-method
Merge into: lp://staging/~python-jenkins-developers/python-jenkins/trunk
Diff against target: 62 lines (+45/-0)
1 file modified
jenkins/__init__.py (+45/-0)
To merge this branch: bzr merge lp://staging/~zaro0508/python-jenkins/plugin-info-method
Reviewer Review Type Date Requested Status
Python Jenkins Developers Pending
Review via email: mp+196653@code.staging.launchpad.net

Description of the change

This patch adds a method to get jenkins plugin information. It may be called without any parameters which will return a list of plugins on master. User may specify the plugin name to get info about in which case it will only that plugin info. if the plugin name cannot be found then it will return None.

To post a comment you must log in.
Revision history for this message
James E. Blair (corvus) wrote :

Here are the short and long names for a bunch of plugins I have installed; since you have an option to select just one plugin, would it be better to use the short name or the long name (as you have written it)?

mailer -- Jenkins Mailer Plugin
external-monitor-job -- External Monitor Job Type Plugin
ldap -- LDAP Plugin
pam-auth -- pam-auth
timestamper -- Timestamper
javadoc -- Javadoc Plugin
ant -- Ant Plugin
token-macro -- Token Macro Plugin
maven-plugin -- Maven Integration plugin
envinject -- Environment Injector Plugin
copyartifact -- Copy Artifact Plugin
dashboard-view -- Dashboard View
greenballs -- Green Balls
zmq-event-publisher -- Jenkins Event Publisher (via ZMQ PUB SUB)
translation -- Jenkins Translation Assistance plugin
monitoring -- Monitoring
subversion -- Jenkins Subversion Plug-in
cvs -- Jenkins CVS Plug-in
notification -- Jenkins Notification plugin
github-api -- github-api
ssh-slaves -- Jenkins SSH Slaves plugin
matrix-auth -- Matrix Authorization Strategy Plugin
windows-slaves -- Windows Slaves Plugin
build-timeout -- Jenkins build timeout plugin
gearman-plugin -- Gearman Plugin
analysis-core -- Static Analysis Utilities
instant-messaging -- Jenkins instant-messaging plugin
ircbot -- Jenkins IRC Plugin
credentials -- Credentials Plugin
ssh-credentials -- SSH Credentials Plugin
shiningpanda -- ShiningPanda Plugin
violations -- Jenkins Violations plugin
warnings -- Warnings Plug-in
publish-over-ftp -- Publish Over FTP
bazaar -- Jenkins Bazaar plugin
urltrigger -- Jenkins URLTrigger Plug-in
thinBackup -- ThinBackup
parameterized-trigger -- Jenkins Parameterized Trigger plugin
join -- Join plugin
scp -- Jenkins SCP publisher plugin
simple-theme-plugin -- Simple Theme Plugin
htmlpublisher -- HTML Publisher plugin
git -- Jenkins GIT plugin
cobertura -- Jenkins Cobertura Plugin
slave-setup -- Jenkins Slave SetupPlugin
xunit -- xUnit plugin
rebuild -- Rebuilder
throttle-concurrents -- Jenkins Throttle Concurrent Builds Plug-in
openid -- openid
github -- GitHub plugin
nodelabelparameter -- Node and Label parameter plugin
template-project -- Template Project plugin
jobConfigHistory -- Jenkins Job Configuration History Plugin
ftppublisher -- FTP publisher plugin
extended-read-permission -- Hudson Extended Read Permission Plugin
ec2 -- Hudson Amazon EC2 plugin
delta-cloud -- delta-cloud
jclouds-jenkins -- Jenkins JClouds plugin
log-parser -- Log Parser Plugin
console-column-plugin -- Console Column Plugin
postbuild-task -- Hudson Post build task
matrixtieparent -- Matrix Tie Parent plugin
ConsoleLogToWorkspace -- Unnamed - hudson.plugins.ConsoleLogToWorkspace:ConsoleLogToWorkspace:hpi:1.0-SNAPSHOT
url-change-trigger -- URL Change Trigger

Revision history for this message
Khai Do (zaro0508) wrote :

ahh, good point. will change to key on shortname instead.

23. By Khai Do

This patch adds a method to get jenkins plugin information. It may be called
without any parameters which will return all installed plugins on master. User
may specify the plugin name in which case it will return info about that
specific plugin. If the plugin name cannot be found then it will return None.

Unmerged revisions

23. By Khai Do

This patch adds a method to get jenkins plugin information. It may be called
without any parameters which will return all installed plugins on master. User
may specify the plugin name in which case it will return info about that
specific plugin. If the plugin name cannot be found then it will return None.

22. By Khai Do

add method to get plugin info

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches