This is a Jenkins shared library designed to make integration testing of pipeline services easier. It defines global variables with methods to ease deployment and management of ephemeral instances, suitable for testing. The currently available global variables are:
More complete documentation is in progress.
To dynamically import this library from the
master branch, add the following lines to your
library identifier: 'c3i@master', changelog: false, retriever: modernSCM([$class: 'GitSCMSource', remote: 'https://pagure.io/c3i-library.git'])
See the Jenkins documentation for information on how to use this library from your pipelines.
You can run the unit test suite with the following command:
gradle test # or `gradle test --info` to be more verbose
Repository contains c3i ansible role for deploying C3I workflows.