Class VectorCASTCommand
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- com.vectorcast.plugins.vectorcastexecution.VectorCASTCommand
-
- All Implemented Interfaces:
hudson.ExtensionPoint
,hudson.model.Describable<hudson.tasks.Builder>
,hudson.tasks.BuildStep
,jenkins.tasks.SimpleBuildStep
public class VectorCASTCommand extends hudson.tasks.Builder implements jenkins.tasks.SimpleBuildStep
This class allows a command script to be specified for both Linux and Windows and the build step will test and run the correct command
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VectorCASTCommand.DescriptorImpl
Descriptor forVectorCASTCommand
.-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
-
-
Constructor Summary
Constructors Constructor Description VectorCASTCommand(String winCommand, String unixCommand)
Create a VectorCAST command
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VectorCASTCommand.DescriptorImpl
getDescriptor()
String
getUnixCommand()
Get the Unix variant of the commandString
getWinCommand()
Get the windows variant of the commandvoid
perform(hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener)
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
getWinCommand
public final String getWinCommand()
Get the windows variant of the command- Returns:
- windows command
-
getUnixCommand
public final String getUnixCommand()
Get the Unix variant of the command- Returns:
- unix command
-
perform
public void perform(hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener)
- Specified by:
perform
in interfacejenkins.tasks.SimpleBuildStep
-
getDescriptor
public VectorCASTCommand.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfacehudson.model.Describable<hudson.tasks.Builder>
- Overrides:
getDescriptor
in classhudson.tasks.Builder
-
-