Simple cli util to install hpi packages of specific versions to jenkins, with their dependencies.
Inspired by install plugin script used by jenkins docker.
pip install -r requirements.txt && python setup.py install
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
[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