public class BuildoutBuilder extends hudson.tasks.Builder implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BuildoutBuilder.DescriptorImpl
Descriptor for this builder
|
Modifier and Type | Field and Description |
---|---|
String |
buildoutCfg
Path to the buildout.cfg file
|
String |
command
The command to execute in the PYTHON environment
|
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 |
useDistribute
Deprecated.
since 0.14
|
Constructor and Description |
---|
BuildoutBuilder(String pythonName,
String buildoutCfg,
String nature,
String command,
boolean ignoreExitCode)
Constructor using fields
|
Modifier and Type | Method and Description |
---|---|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getDescriptor, getRequiredMonitorService, prebuild
public final String pythonName
public final String buildoutCfg
@Deprecated public transient Boolean useDistribute
public final String nature
public final String command
public final boolean ignoreExitCode
@DataBoundConstructor public BuildoutBuilder(String pythonName, String buildoutCfg, String nature, String command, boolean ignoreExitCode)
pythonName
- The name of the PYTHON to use to create the VIRTUALENV that
starts BUILDOUTbuildoutCfg
- The BUILDOUT configuration filenature
- 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 codepublic 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
Copyright © 2004-2018. All Rights Reserved.