A simple tool to rapidly create and debug jenkins pipelines
Project description
Jenkins Rapid
A commandline tool to quickly develop/debug Jenkins piepline using jenkins files
Install
$ pip install jenkins-rapid
Usage:
# Creates a new pipeline and tiggers job
$ jrp --job <job_name> --url <jenkins_url> --user <username> --token <user_api_tokern>
# Deletes job
$ jrp delete --job <job_name> --url <jenkins_url> --user <username> --token <user_api_tokern>
Features
- Creates pipelines if name does not exist
- Overwrites existing pipeline
- Triggers build
- Displays Jenkins console logs get tailed directly get to user terminal
- Stop running job when user exits console logs
Additonal info
-
Environment variables can be set for the following values for jenkins url and user credentials and will take presedence over commandline arguments
# JENKINS_URL # JENKINS_USER # JENKINS_PASSWORD # Ex: export JENKINS_URL=http://localhost:8080 export JENKINS_USER=admin export JENKINS_PASSWORD=admin
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
jenkins_rapid-0.3.12.tar.gz
(5.8 kB
view details)
File details
Details for the file jenkins_rapid-0.3.12.tar.gz
.
File metadata
- Download URL: jenkins_rapid-0.3.12.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6045825560964b72df2f3abbbdf9507a14db030ecad91e3ad44e2234a6d73a17 |
|
MD5 | 32b97eda7ecc2550e617c9c7d2b86bd6 |
|
BLAKE2b-256 | 48e47ec04197b803a0aa329337c154bd7d49e064296a54abf5031968a5d3bed4 |