pyjen.plugins.shellbuilder module¶
Interface to control a basic shell build step job builder plugin
-
pyjen.plugins.shellbuilder.PluginClass¶
-
class
pyjen.plugins.shellbuilder.ShellBuilder(node)[source]¶ Bases:
pyjen.utils.xml_plugin.XMLPluginInterface to control a basic shell build step job builder plugin
This plugin is a default, built-in plugin which is part of the Jenkins core
-
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
-
classmethod
instantiate(script)[source]¶ Factory method for creating a new shell build step
- Parameters
script (str) – shell script to run as part of this build step
-
script¶ Gets the shell script associated with this builder
- Return type
str
-
unstable_return_code¶ Gets the return code that marks the build as unstable
- Return type
int
-
static