Class VectorCASTCommand
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
com.vectorcast.plugins.vectorcastexecution.VectorCASTCommand
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep,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 ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory -
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionVectorCASTCommand(String winCommand, String unixCommand) Create a VectorCAST command. -
Method Summary
Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
VectorCASTCommand
Create a VectorCAST command.- Parameters:
winCommand- the windows variant of the commandunixCommand- the unix variant of the command
-
-
Method Details
-
getWinCommand
Get the windows variant of the command.- Returns:
- windows command.
-
getUnixCommand
Get the Unix variant of the command.- Returns:
- unix command.
-
perform
Perform the script to run the job.- Specified by:
performin interfaceSimpleBuildStep- Parameters:
build- infoworkspace- infolauncher- infolistener- info
-
getDescriptor
Get the descriptor.- Specified by:
getDescriptorin interfaceDescribable<Builder>- Overrides:
getDescriptorin classBuilder- Returns:
- descriptor
-