|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
jenkins.plugins.shiningpanda.builders.VirtualenvBuilder
public class VirtualenvBuilder
Nested Class Summary | |
---|---|
static class |
VirtualenvBuilder.DescriptorImpl
Descriptor for this builder |
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
---|
hudson.tasks.BuildStep.PublisherList |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Field Summary | |
---|---|
boolean |
clear
Clear out the non-root install and start from scratch |
String |
command
The command to execute in the PYTHON environment |
String |
home
Home folder for this VIRTUALENV |
boolean |
ignoreExitCode
Do not consider the build as a failure if any of the commands exits with a non-zero exit code. |
String |
nature
The nature of the command: PYTHON, shell, X shell |
String |
pythonName
Name of the PYTHON to invoke |
boolean |
systemSitePackages
Give access to the global site-packages |
boolean |
useDistribute
Use Distribute instead of SETUPTOOLS |
Fields inherited from interface hudson.tasks.BuildStep |
---|
BUILDERS, PUBLISHERS |
Constructor Summary | |
---|---|
VirtualenvBuilder(String pythonName,
String home,
boolean clear,
boolean useDistribute,
boolean systemSitePackages,
String nature,
String command,
boolean ignoreExitCode)
Constructor using fields |
Method Summary | |
---|---|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
|
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 |
Field Detail |
---|
public final String pythonName
public final String home
public boolean clear
public boolean useDistribute
public boolean systemSitePackages
public final String nature
public final String command
public final boolean ignoreExitCode
Constructor Detail |
---|
@DataBoundConstructor public VirtualenvBuilder(String pythonName, String home, boolean clear, boolean useDistribute, boolean systemSitePackages, String nature, String command, boolean ignoreExitCode)
pythonName
- The name of the PYTHON to use to create the VIRTUALENVhome
- The home folder for this VIRTUALENVclear
- Must the VIRTUALENV be cleared on each build?useDistribute
- Choose between SETUPTOOLS and DISTRIBUTEsystemSitePackages
- Give access to the global site-packages directory to the
virtual environmentnature
- The nature of the command: PYTHON, shell, X shellcommand
- The command to executeignoreExitCode
- Do not consider the build as a failure if any of the commands
exits with a non-zero exit codeMethod Detail |
---|
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
InterruptedException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |