jenkins-yml 2.0
pip install jenkins-yml==2.0
Released:
Define Jenkins jobs from repository
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GPL v3 or later
- Author: Étienne BERSAC
- Tags jenkins
Classifiers
- Development Status
- Environment
- Intended Audience
- Programming Language
Project description
Define jobs from project
Render Jenkins job and execute comment from jenkins.yml. These two steps are completely independant.
jenkins_yml provide a python API to render a Jenkins job XML config from a YAML payload. It does not manage Jenkins I/O to effectively create the job.
Finally, jenkins_yml provide a simple CLI script to executes de tests commands from jenkins.yml.
Setup
On your Jenkins executor, pip3 install jenkins-yml and then use jenkins-yml-runner as shell command.
jenkins.yml format
Put a jenkins.yml file at the root of the project. This file contains a mapping of JOB_NAME to scripts. For example:
app-lint: | flake8 app/ app-tests: axis: TOXENV: [py27, py34, py35] script: | tox -r app-doc: script: | tox -e sphinx -r
To test a job, simply run:
JOB_NAME=app-test jenkins-yml-runner
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GPL v3 or later
- Author: Étienne BERSAC
- Tags jenkins
Classifiers
- Development Status
- Environment
- Intended Audience
- Programming Language
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
File details
Details for the file jenkins-yml-2.0.tar.gz
.
File metadata
- Download URL: jenkins-yml-2.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a19d590f3c492936fbf305a34c7e8fb592dea362bdb55964bd68500d0003c61d |
|
MD5 | 08b1f4faa1174046f54a3a6e424aea31 |
|
BLAKE2b-256 | 68e6f9d597d22a570241d978aa2d4157fc8541c788f22b5ba7db4234e6f5599b |