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’

static get_jenkins_plugin_name()[source]

Gets 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

Return type

str

jobs

Gets all branch jobs managed by this multibranch pipeline

Return type

list of PipelineJob

static template_config_xml()[source]

Gets 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