Utilities for Informatics Matters CI/CD configuration
Project description
The im-jenkins-utils module is a set of utilities employed by Informatics Matters for automated configuration of the Jenkins CI/CD platform. It is a small library that currently simplifies the creation of Jobs using python-jenkins and various credential types using cURL.
Typical use of the utilities relies on creating an ImJenkinsServer class by providing a suitably formatted URL:
from im_jenkins_server import ImJenkinsServer j_server = ImJenkinsServer(url)
The url value is typically of the form https://<user>:<token>@<url>.
With this class you can then create a global text secret:
j_server.set_secret_text('mySecretId', 'The Secret Text')
The server following methods exist: -
set_secret_text()
set_secret_file()
set_secret_user()
get_jobs()
set_jobs()
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 Distributions
Built Distribution
Hashes for im_jenkins_utils-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42d3a7ea035df3e809f154feea3d16a60496bc3f33e44d63a9e3991af4656289 |
|
MD5 | 44a81298f353aa8e390f9850af29b3dd |
|
BLAKE2b-256 | dcfd49cd5d78641a81c6625d86f92ac9529c4763be17a63b0e10f5afb4a31da8 |