Package io.jenkins.plugins
Class ProvarAutomation
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
io.jenkins.plugins.ProvarAutomation
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classstatic final classRepresents the Provar installation on the system.static classAutomatic Provar installer.static enumstatic enumNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionProvarAutomation(String provarAutomationName, String buildFile, String testPlan, String testFolder, String environment, ProvarAutomation.Browser browser, Secret secretsPassword, ProvarAutomation.SalesforceMetadataCacheSettings salesforceMetadataCacheSetting, ProvarAutomation.ResultsPathSettings resultsPathSetting, String projectName, String licensePath) -
Method Summary
Modifier and TypeMethodDescriptionGets the ProvarCLI to invoke, or null to invoke the default one.booleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) protected static ArgumentListBuilderBackward compatibility by checking the number of parametersMethods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
Constructor Details
-
ProvarAutomation
@DataBoundConstructor public ProvarAutomation(@NonNull String provarAutomationName, @NonNull String buildFile, @NonNull String testPlan, @NonNull String testFolder, @NonNull String environment, @NonNull ProvarAutomation.Browser browser, @NonNull Secret secretsPassword, @NonNull ProvarAutomation.SalesforceMetadataCacheSettings salesforceMetadataCacheSetting, @NonNull ProvarAutomation.ResultsPathSettings resultsPathSetting, @NonNull String projectName, @NonNull String licensePath)
-
-
Method Details
-
getProvar
Gets the ProvarCLI to invoke, or null to invoke the default one. -
getProvarAutomationName
-
getBuildFile
-
getTestPlan
-
getTestFolder
-
getEnvironment
-
getBrowser
-
getSecretsPassword
-
getSalesforceMetadataCacheSetting
@NonNull public ProvarAutomation.SalesforceMetadataCacheSettings getSalesforceMetadataCacheSetting() -
getResultsPathSetting
-
getProjectName
-
getLicensePath
-
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Builder>- Overrides:
getDescriptorin classBuilder
-
toWindowsCommand
Backward compatibility by checking the number of parameters
-