hudson.plugins.python
Class Python
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
hudson.tasks.CommandInterpreter
hudson.plugins.python.Python
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep
public class Python
- extends hudson.tasks.CommandInterpreter
Invokes the Python interpreter and invokes the Python script entered on the
hudson build configuration.
It is expected that the Python interpreter is available on the system PATH.
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.tasks.CommandInterpreter |
command |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
| Methods inherited from class hudson.tasks.CommandInterpreter |
createScriptFile, getCommand, perform, perform |
| Methods inherited from class hudson.tasks.Builder |
all, getDescriptor, getRequiredMonitorService, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectAction, getProjectAction, getProjectActions, perform, prebuild |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.tasks.BuildStep |
getProjectAction, getProjectActions, prebuild |
Python
@DataBoundConstructor
public Python(String command)
buildCommandLine
public String[] buildCommandLine(hudson.FilePath script)
- Specified by:
buildCommandLine in class hudson.tasks.CommandInterpreter
getContents
protected String getContents()
- Specified by:
getContents in class hudson.tasks.CommandInterpreter
getFileExtension
protected String getFileExtension()
- Specified by:
getFileExtension in class hudson.tasks.CommandInterpreter
Copyright © 2004-2011. All Rights Reserved.