Skip to main content

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 object 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 object you can then create a global text secret:

if j_server.is_connected():
    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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

im_jenkins_utils-1.0.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file im_jenkins_utils-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for im_jenkins_utils-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 13e45272f22d77fafb1fd4e51caa40eac2f529c8af2034b0cf2b3ae715ba1759
MD5 d222269ad7629bcb950db3dd22bb33c8
BLAKE2b-256 205279f83f15429f696f799392bf9b248571856239336c0697ba4809ff1feffe

See more details on using hashes here.

Supported by

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