Skip to main content

A simple tool to rapidly create and debug jenkins pipelines

Project description

Jenkins Rapid

A commandline tool to quickly debug Jenkins piepline files

Install

    $ pip install git+https://git.nbnco.net.au/sec/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
    

Project details


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.9.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file jenkins_rapid-0.3.9.tar.gz.

File metadata

  • Download URL: jenkins_rapid-0.3.9.tar.gz
  • Upload date:
  • Size: 5.7 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

Hashes for jenkins_rapid-0.3.9.tar.gz
Algorithm Hash digest
SHA256 38131d86a4ec170d9cf6ddeeb4f875dad3b261f37ff3b4cda584c7ca7940295b
MD5 65c6f33dc76790bb8e37c26c50a88647
BLAKE2b-256 1bfd5ad2e7a1e6aa558032ce03d04e90924da4143c047a7fc77ad6413bab5b55

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page