Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 958 Bytes

README.md

File metadata and controls

38 lines (30 loc) · 958 Bytes

Jenkins Plugin Install

Simple cli util to install hpi packages of specific versions to jenkins, with their dependencies.

Inspired by install plugin script used by jenkins docker.

Installation

pip install -r requirements.txt && python setup.py install

Usage

Usage
 jpi install [--conf conf] [--tmp tmpdir] [--dry-run] <file_with_packages>
 jpi list [--conf conf] [--tmp tmpdir]
 jpi restart

Options:
  --conf conf   Configuration file [default: ./config.ini]
  --tmp tmpdir  Configuration file [default: /tmp/]
  --dry-run     Don't install any packages on jenkins

Configuration File

[jenkins]
user=admin                # Jenkins user id
password=admin            # Jenkins user password
url=http://localhost:8080 # Jenkins url
csrf_enabled=false        # Set to 'true' if Prevent Cross Site Request Forgery exploits is enabled