Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Run jenkins jobs from the cli using yaml configs

Project description

Build Status


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:

 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for runjenkins, version 2018.5.4.47356
Filename, size File type Python version Upload date Hashes
Filename, size runjenkins-2018.5.4.47356-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size runjenkins-2018.5.4.47356.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page