Skip to content

Instantly share code, notes, and snippets.

@rtyler
Created March 23, 2014 23:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtyler/9731769 to your computer and use it in GitHub Desktop.
Save rtyler/9731769 to your computer and use it in GitHub Desktop.
The Jenkins Plugin Manager (https://github.com/rtyler/jpm) will now happily install plugins for you!
ubuntu@ip-10-226-175-124:~$ jpm help
Commands:
jpm help [COMMAND] # Describe available commands or one specific command
jpm install NAME # Install the named plugin
jpm list # List the installed Jenkins plugins
jpm search TERM # Search for available plugins
jpm update # Update the local plugin repository meta-data
Options:
[--offline], [--no-offline] # Use `jpm` in a fully offline mode
[--verbose], [--no-verbose] # Enable verbose output
ubuntu@ip-10-226-175-124:~$ jpm search green
Loading plugin repository data...
- Green Balls (greenballs)
version: v1.14
labels: ui
wiki: <https://wiki.jenkins-ci.org/display/JENKINS/Green+Balls>
ubuntu@ip-10-226-175-124:~$ sudo jpm install greenballs
Loading plugin repository data...
Installing greenballs v1.14 ...
Green Balls v1.14 will be loaded on the next restart of Jenkins!
ubuntu@ip-10-226-175-124:~$ ls /var/lib/jenkins/plugins/greenballs*
/var/lib/jenkins/plugins/greenballs.hpi
ubuntu@ip-10-226-175-124:~$ sudo jpm install ansicolor
Loading plugin repository data...
Installing ansicolor v0.3.1 ...
AnsiColor Plugin v0.3.1 will be loaded on the next restart of Jenkins!
ubuntu@ip-10-226-175-124:~$ ls /var/lib/jenkins/plugins/ansi*
/var/lib/jenkins/plugins/ansicolor.hpi
ubuntu@ip-10-226-175-124:~$ sudo jpm install extra-columns
Loading plugin repository data...
Installing extra-columns v1.14 ...
Extra Columns Plugin v1.14 will be loaded on the next restart of Jenkins!
ubuntu@ip-10-226-175-124:~$ ls /var/lib/jenkins/plugins/extra-columns*
/var/lib/jenkins/plugins/extra-columns.hpi
ubuntu@ip-10-226-175-124:~$ ls ^C
ubuntu@ip-10-226-175-124:~$ sudo jpm install durable-task
Loading plugin repository data...
Installing durable-task v0.1 ...
Durable Task Plugin v0.1 will be loaded on the next restart of Jenkins!
ubuntu@ip-10-226-175-124:~$ ls /var/lib/jenkins/plugins/durable*
/var/lib/jenkins/plugins/durable-task.hpi
ubuntu@ip-10-226-175-124:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment