pyjen.plugins.multijob module

Primitives that manage Jenkins job of type ‘MultiJob’

class pyjen.plugins.multijob.MultiJob(api)[source]

Bases: pyjen.job.Job

Custom job type provided by the jenkins-multijob-plugin plugin

https://plugins.jenkins.io/jenkins-multijob-plugin

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

static template_config_xml()[source]
Returns

XML for a default implementation of this job type

Return type

str

pyjen.plugins.multijob.PluginClass

alias of pyjen.plugins.multijob.MultiJob