pyjen.plugins.mavenplugin module

Primitives that operate on Jenkins jobs of type ‘Maven’

class pyjen.plugins.mavenplugin.MavenPlugin(api)[source]

Bases: pyjen.job.Job

Custom Maven job type

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

a basic XML configuration template for use when instantiating jobs of this type

Return type

str

pyjen.plugins.mavenplugin.PluginClass

alias of pyjen.plugins.mavenplugin.MavenPlugin