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
Metadata
Release files for runjenkins 2018.5.4.47356
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| runjenkins-2018.5.4.47356.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| runjenkins-2018.5.4.47356-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / runjenkins-2018.5.4.47356.tar.gz
| Download URL | runjenkins-2018.5.4.47356.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e1f1856ba8cf561fe10f63153c8aea6f2aa49bcd8595438f86bc9659b4aa76b
|
|
BLAKE2b-256 checksum How to use checksums |
09c7b544a513073beccb2b48945ff73cbb0ef4ef76b0447200b5d8c2f51dcf35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / runjenkins-2018.5.4.47356-py3-none-any.whl
| Download URL | runjenkins-2018.5.4.47356-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
292df3e3a8ca357306a14cc8fdf2fbd42660cf3dd40ea76aae05fc037a1b8cdd
|
|
BLAKE2b-256 checksum How to use checksums |
0cdba60659818704c5d37bae604ccd5429944fb8d58fe7e60331012f79785038
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |