Skip to content

Installer for jenkins plugins with set versions and dependency resolution

Notifications You must be signed in to change notification settings

feedhenry/jenkins-plugin-install

Repository files navigation

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

About

Installer for jenkins plugins with set versions and dependency resolution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published