Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Here are 2 ways to find that information.</p> <p>The easiest is probably to to grep the job config files:</p> <p>E.g. when you know the class name (or package name) of your plugin (e.g. org.jenkinsci.plugins.unity3d.Unity3dBuilder):</p> <pre><code>find $JENKINS_HOME/jobs/ -name config.xml -maxdepth 2 | xargs grep Unity3dBuilder </code></pre> <p>Another is to use something like <a href="https://wiki.jenkins-ci.org/display/JENKINS/Scriptler+Plugin" rel="noreferrer">the scriptler plugin</a>, but then you need more information about where the plugin is used in the build.</p> <pre><code>import hudson.model.* import hudson.maven.* import hudson.tasks.* for(item in Hudson.instance.items) { //println("JOB : "+item.name); for (builder in item.builders){ if (builder instanceof org.jenkinsci.plugins.unity3d.Unity3dBuilder) { println("&gt;&gt;" + item.name.padRight(50, " ") + "\t UNITY3D BUILDER with " + builder.unity3dName); } } } } </code></pre> <p><strong>Update</strong>: here's a small scriplet script that might ease you finding the relevant class names. It can certainly be improved:</p> <pre><code>import jenkins.model.*; import hudson.ExtensionFinder; List&lt;ExtensionFinder&gt; finders = Jenkins.instance.getExtensionList(ExtensionFinder.class); for (finder in finders) { println("&gt;&gt;&gt; " + finder); if (finder instanceof hudson.ExtensionFinder.GuiceFinder) { println(finder.annotations.size()); for (key in finder.annotations.keySet()) { println(key); } } else if (finder instanceof ruby.RubyExtensionFinder) { println(finder.parsedPlugins.size()); for (plugin in finder.parsedPlugins) { for (extension in plugin.extensions) { println("ruby wrapper for " + extension.instance.clazz); } } } else if (finder instanceof hudson.cli.declarative.CLIRegisterer) { println(finder.discover(Jenkins.instance)); for (extension in finder.discover(Jenkins.instance)) { println("CLI wrapper for " + extension.instance.class); // not sure what to do with those } } else { println("UNKNOWN FINDER TYPE"); } } </code></pre> <p>(inlined scriplet from my original listJenkinsExtensions submission to <a href="http://scriptlerweb.appspot.com" rel="noreferrer">http://scriptlerweb.appspot.com</a> which seems down)</p> <p>Don't forget to backup!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload