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.78564.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71937945ca485261351a5ea0407d125f11c10fe73a75abfd213fe2c068823a0a |
|
MD5 | d78475fa441222897374ac5e2cca869d |
|
BLAKE2b-256 | 0edde6d7c147b2ff2639661bc92a847b50dfd2cea758f979cb3c14d774de46e8 |
Close
Hashes for runjenkins-2018.1.29.78564-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f6fe9cf33ab4c5358cf122e0b83af0ce58eeb77808a148cb76eee846235a07c |
|
MD5 | b17f18573aaedc0a0a0c3e445fae7f6e |
|
BLAKE2b-256 | 18e34fdadd9fa0c3adb7e7535f9ebd0d41f0ad7175babeeafdff359489e343e2 |