jenkins.plugins.shiningpanda.builders
Class ToxBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
jenkins.plugins.shiningpanda.builders.ToxBuilder
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep, Serializable
public class ToxBuilder
- extends hudson.tasks.Builder
- implements Serializable
- See Also:
- Serialized Form
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 |
recreate
Force recreation of virtual environments |
String |
toxenvPattern
If there is no TOX axis, use this field to get the TOX environment. |
String |
toxIni
Path to the tox.ini file |
Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
Constructor Summary |
ToxBuilder(String toxIni,
boolean recreate,
String toxenvPattern)
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 |
toxIni
public final String toxIni
- Path to the tox.ini file
recreate
public final boolean recreate
- Force recreation of virtual environments
toxenvPattern
public final String toxenvPattern
- If there is no TOX axis, use this field to get the TOX environment.
ToxBuilder
@DataBoundConstructor
public ToxBuilder(String toxIni,
boolean recreate,
String toxenvPattern)
- Constructor using fields.
- Parameters:
toxIni
- The TOX configuration filerecreate
- Create a new environment each timetoxenvPattern
- The pattern used to build the TOXENV environment variable
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
- Specified by:
perform
in interface hudson.tasks.BuildStep
- Overrides:
perform
in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
Copyright © 2004-2012. All Rights Reserved.