Package org.jenkinsci.plugins.vmanager
Class VMGRLaunch
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
org.jenkinsci.plugins.vmanager.VMGRLaunch
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Descriptor forVMGRLaunch
.static final class
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
ConstructorsConstructorDescriptionVMGRLaunch
(String vAPIUrl, String vAPIUser, Secret vAPIPassword, String vSIFName, String vSIFInputFile, String credentialInputFile, boolean deleteInputFile, boolean deleteCredentialInputFile, boolean useUserOnFarm, boolean authRequired, String vsifType, String userFarmType, boolean dynamicUserId, boolean advConfig, int connTimeout, int readTimeout, boolean envVarible, String envVaribleFile, String inaccessibleResolver, String stoppedResolver, String failedResolver, String doneResolver, String suspendedResolver, boolean waitTillSessionEnds, int stepSessionTimeout, boolean generateJUnitXML, boolean extraAttributesForFailures, String staticAttributeList, boolean markBuildAsFailedIfAllRunFailed, boolean failJobIfAllRunFailed, String envSourceInputFile, boolean vMGRBuildArchive, boolean deleteAlsoSessionDirectory, boolean genericCredentialForSessionDelete, String archiveUser, Secret archivePassword, String famMode, String famModeLocation, boolean noAppendSeed, boolean markBuildAsPassedIfAllRunPassed, boolean failJobUnlessAllRunPassed, boolean userPrivateSSHKey, boolean attrValues, String attrValuesFile, String executionType, String sessionsInputFile, boolean deleteSessionInputFile, String envVariableType, String envVariableText, String attrVariableType, String attrVariableText, boolean pauseSessionOnBuildInterruption, String envSourceInputFileType, String executionScript, String executionShellLocation, String executionVsifFile, String defineVaribleFile, boolean defineVarible, String defineVariableType, String defineVariableText, String vAPICredentials, String credentialType) -
Method Summary
Modifier and TypeMethodDescriptionint
We'll use this from theint
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
perform
(AbstractBuild build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
Constructor Details
-
VMGRLaunch
@DataBoundConstructor public VMGRLaunch(String vAPIUrl, String vAPIUser, Secret vAPIPassword, String vSIFName, String vSIFInputFile, String credentialInputFile, boolean deleteInputFile, boolean deleteCredentialInputFile, boolean useUserOnFarm, boolean authRequired, String vsifType, String userFarmType, boolean dynamicUserId, boolean advConfig, int connTimeout, int readTimeout, boolean envVarible, String envVaribleFile, String inaccessibleResolver, String stoppedResolver, String failedResolver, String doneResolver, String suspendedResolver, boolean waitTillSessionEnds, int stepSessionTimeout, boolean generateJUnitXML, boolean extraAttributesForFailures, String staticAttributeList, boolean markBuildAsFailedIfAllRunFailed, boolean failJobIfAllRunFailed, String envSourceInputFile, boolean vMGRBuildArchive, boolean deleteAlsoSessionDirectory, boolean genericCredentialForSessionDelete, String archiveUser, Secret archivePassword, String famMode, String famModeLocation, boolean noAppendSeed, boolean markBuildAsPassedIfAllRunPassed, boolean failJobUnlessAllRunPassed, boolean userPrivateSSHKey, boolean attrValues, String attrValuesFile, String executionType, String sessionsInputFile, boolean deleteSessionInputFile, String envVariableType, String envVariableText, String attrVariableType, String attrVariableText, boolean pauseSessionOnBuildInterruption, String envSourceInputFileType, String executionScript, String executionShellLocation, String executionVsifFile, String defineVaribleFile, boolean defineVarible, String defineVariableType, String defineVariableText, String vAPICredentials, String credentialType)
-
-
Method Details
-
getExecutionVsifFile
We'll use this from theconfig.jelly
.- Returns:
-
getExecutionShellLocation
-
getExecutionScript
-
getSessionsInputFile
-
isPauseSessionOnBuildInterruption
public boolean isPauseSessionOnBuildInterruption() -
getAttrVariableType
-
getAttrVariableText
-
getEnvVariableType
-
getEnvVariableText
-
isDeleteSessionInputFile
public boolean isDeleteSessionInputFile() -
getExecutionType
-
isExtraAttributesForFailures
public boolean isExtraAttributesForFailures() -
getCredentialType
-
isNoAppendSeed
public boolean isNoAppendSeed() -
isMarkBuildAsFailedIfAllRunFailed
public boolean isMarkBuildAsFailedIfAllRunFailed() -
isFailJobIfAllRunFailed
public boolean isFailJobIfAllRunFailed() -
isMarkBuildAsPassedIfAllRunPassed
public boolean isMarkBuildAsPassedIfAllRunPassed() -
isFailJobUnlessAllRunPassed
public boolean isFailJobUnlessAllRunPassed() -
isUserPrivateSSHKey
public boolean isUserPrivateSSHKey() -
getStaticAttributeList
-
isGenerateJUnitXML
public boolean isGenerateJUnitXML() -
getVAPIUrl
-
getVAPIUser
-
getVAPIPassword
-
getArchivePassword
-
getVSIFName
-
getEnvVaribleFile
-
getAttrValuesFile
-
getEnvSourceInputFile
-
getVSIFInputFile
-
getCredentialInputFile
-
isAuthRequired
public boolean isAuthRequired() -
isDeleteInputFile
public boolean isDeleteInputFile() -
isDeleteCredentialInputFile
public boolean isDeleteCredentialInputFile() -
isUseUserOnFarm
public boolean isUseUserOnFarm() -
isDynamicUserId
public boolean isDynamicUserId() -
getVsifType
-
getUserFarmType
-
isAdvConfig
public boolean isAdvConfig() -
isEnvVarible
public boolean isEnvVarible() -
isAttrValues
public boolean isAttrValues() -
getConnTimeout
public int getConnTimeout() -
getReadTimeout
public int getReadTimeout() -
getStepSessionTimeout
public int getStepSessionTimeout() -
getInaccessibleResolver
-
getEnvSourceInputFileType
-
getStoppedResolver
-
getFailedResolver
-
getDoneResolver
-
getSuspendedResolver
-
isWaitTillSessionEnds
public boolean isWaitTillSessionEnds() -
isVMGRBuildArchive
public boolean isVMGRBuildArchive() -
isDeleteAlsoSessionDirectory
public boolean isDeleteAlsoSessionDirectory() -
isGenericCredentialForSessionDelete
public boolean isGenericCredentialForSessionDelete() -
getArchiveUser
-
getFamMode
-
getFamModeLocation
-
getDefineVaribleFile
-
isDefineVarible
public boolean isDefineVarible() -
getDefineVariableType
-
getDefineVariableText
-
getVAPICredentials
-
perform
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-