GithubHelp home page GithubHelp logo

jpm's Introduction

jpm

The Jenkins Plugin Manager

JPM is a command line interface to help in the searching and packaging (RPM) of Jenkins plugins. It's useful if you want to manage your Jenkins plugins yourself instead of using Jenkins' Update Center.

Installing

$ git clone [email protected]:lonefreak/jpm.git
$ cd jpm
$ chmod +x install.sh
$ ./install.sh

Dependencies

To run JPM you will need:

fpm (>= 1.1.0)
rpm/rpmbuild (>= 4.8.0)
wget (>= 1.12)
curl (>= 7.19.7)

Usage

$ jpm -h
USAGE: jpm [-x PROXY_HOST:PORT] ACTION PLUGIN [VERSION]
ACTION examples:
	jpm package PLUGIN_NAME [PLUGIN_VERSION]	//generates a RPM containing the specified plugin. If no version provided, uses latest
	jpm search PLUGIN_NAME						//searches for a plugin (works with partial names)
	jpm list PLUGIN_NAME						//lists all versions of the given plugin

Searching for a plugin

$ jpm search extended
dynamic_extended_choice_parameter
extended-choice-parameter
extended-read-permission
script-realm-extended

Listing versions of plugin

$ jpm list extended-choice-parameter
Versions for extended-choice-parameter
0.32
0.31
0.30
0.28
0.27

Packaging

$ jpm package extended-choice-parameter 0.30
##############################
OBTAINING PLUGIN
##############################

Retriving extended-choice-parameter plugin with version 0.30 from
https://updates.jenkins-ci.org/download/plugins/extended-choice-parameter/0.30/extended-choice-parameter.hpi

100%[=====================>] 44,260      95.5K/s   in 0.5s    

##############################
GENERATING RPM
##############################

Created package {:path=>"extended-choice-parameter-0.30-1.noarch.rpm"}

##############################
PROCESS FINISHED!!
##############################

TODO

  • using external configurations (.jpmrc)
  • sudo usage
  • plugin dependency resolution
  • include dependencies in the RPM package

jpm's People

Contributors

lonefreak avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.