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.24.39370.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8765e78495c1137414a80e0ecbcae9fa960b3827ca7cbbd20ed11c5c9d71eb5c |
|
MD5 | 54d4a20dd6cef8377db1224c59442e5c |
|
BLAKE2b-256 | 631ebccb93e0179f8b1c99eef900d7d945bffabe47cdc5f8ebd288dfb95295b2 |
Close
Hashes for runjenkins-2018.1.24.39370-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14fd1e3fba9f76742eab407ef98d9980ee31e4c6b2f79a63499bf3f6f8137556 |
|
MD5 | e252a55cf64e6a5a5da321a4a077b358 |
|
BLAKE2b-256 | 057bdb7f4767f068e2725c6e23f57cd7c078366dc065731c6620fd0a04c7762e |