pyjen.plugins.multibranch_pipeline module

Primitives that manage Jenkins job of type ‘multibranch pipeline’

class pyjen.plugins.multibranch_pipeline.MultibranchPipelineJob(api)[source]

Bases: pyjen.job.Job

Jenkins job of type ‘multibranch pipeline’

Parameters

api (JenkinsAPI) – Pre-initialized connection to the Jenkins REST API

static get_jenkins_plugin_name()[source]

str: the name of the Jenkins plugin associated with this PyJen plugin

This static method is used by the PyJen plugin API to associate this class with a specific Jenkins plugin, as it is encoded in the config.xml

property jobs

all branch jobs managed by this multibranch pipeline

Type

list (PipelineJob)

static template_config_xml()[source]
Returns

config xml data to instantiate a default instance of this job

Return type

str

pyjen.plugins.multibranch_pipeline.PluginClass

alias of pyjen.plugins.multibranch_pipeline.MultibranchPipelineJob