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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dffde5f0d1e76522d93efb68569d6ae8f21579fc64568949a5e91e5fb17d255f |
|
MD5 | 0060a90bd3fa1b838015262d296da4e4 |
|
BLAKE2b-256 | d031761641c441d6c227793d4352c7ecb85715549a82e12d325a45ab3dd85954 |