Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.45 KB

jenkins.md

File metadata and controls

53 lines (34 loc) · 1.45 KB

Jenkins

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.

run

[find in source code]

def run(**kwargs):

Run git clone

Returns

  • str - result of command

setup

[find in source code]

def setup(**kwargs):

setup git workload

Arguments

  • **kwargs dict - git setup configuration. The only argument present in kwargs is 'pod' on which we want to setup

Returns

  • bool - True if setup succeeds else False