Run jenkins jobs from the cli using yaml configs
Project description
runjenkins
Simple tool for running a list of jenkins jobs
Tool for running jenkins jobs from cli, based on yaml configs. The ideas is that you have a single creds file, then put a config file in each repo/workspace. Then add it to your commit hook/alias/function/script/whatever so that you can run jobs on commit.
I know the obvious way to run jobs on commit is to open a PR, and use branch source or GHPRB. However when developing JJB jobs, I often want to run a job that runs JJB, then the job that was created, and possibly some other test jobs. This tool lets me automate that.
Example Creds File:
--- url: https://myjenkins.example.com/ user: foo password: bah
Example Conf File:
--- - myjob: myparamkey: myparamvalue - mynextjob: parama: 1 paramb: false - parallel group: # <-- name arbitrary, parallel detected by val=list rather than dict - myparalleljob: param: val - otherparalleljob: param: val
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for runjenkins-2018.1.29.57223.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35e0b681abbf7c67e5589d46ae9484df74c5f36412abe0c057ea88fd132cfe5e |
|
MD5 | ee782c464e05eec93594165f7be6599a |
|
BLAKE2b-256 | 028dc6f752eb0e1a5bab0472885724a16fd36a1b64520dad5ba9e8f972d48bb6 |
Close
Hashes for runjenkins-2018.1.29.57223-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc2b682a79d6b746f21bfaf72554ce52f9c52d2c7b30c360d13a78d1635a4191 |
|
MD5 | 773c7428a09fe07d8239edbf18d6a598 |
|
BLAKE2b-256 | 60388e1b304e91ff4dd1e2b9211056ac38d3205c8de8d912d689513864929144 |