Auto-generated documentation for ocs_ci.utility.workloads.jenkins module.
This module implements all the functionalities required for setting up and running "Jenkins" like workloads on the pods.
This module implements few functions setup(): for setting up git utility on the pod and any necessary environmental params. run(): for running 'git clone' on pod to simulate a working environment for a developer
Note: The above mentioned functions will be invoked from Workload.setup() and Workload.run() methods along with user provided parameters.
def run(**kwargs):
Run git clone
str
- result of command
def setup(**kwargs):
setup git workload
**kwargs
dict - git setup configuration. The only argument present in kwargs is 'pod' on which we want to setup
bool
- True if setup succeeds else False