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
public class ProvarAutomation extends Builder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProvarAutomation.Browserstatic classProvarAutomation.DescriptorImplstatic classProvarAutomation.ProvarAutomationInstallationRepresents the Provar installation on the system.static classProvarAutomation.ProvarAutomationInstallerAutomatic Provar installer.static classProvarAutomation.ResultsPathSettingsstatic classProvarAutomation.SalesforceMetadataCacheSettings-
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
Constructors Constructor Description ProvarAutomation(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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProvarAutomation.BrowsergetBrowser()StringgetBuildFile()ProvarAutomation.DescriptorImplgetDescriptor()StringgetEnvironment()StringgetLicensePath()StringgetProjectName()ProvarAutomation.ProvarAutomationInstallationgetProvar()Gets the ProvarCLI to invoke, or null to invoke the default one.StringgetProvarAutomationName()ProvarAutomation.ResultsPathSettingsgetResultsPathSetting()ProvarAutomation.SalesforceMetadataCacheSettingsgetSalesforceMetadataCacheSetting()SecretgetSecretsPassword()StringgetTestFolder()StringgetTestPlan()booleanperform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)protected static ArgumentListBuildertoWindowsCommand(ArgumentListBuilder args)Backward compatibility by checking the number of parameters-
Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
-
-
-
Constructor Detail
-
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 Detail
-
getProvar
public ProvarAutomation.ProvarAutomationInstallation getProvar()
Gets the ProvarCLI to invoke, or null to invoke the default one.
-
getProvarAutomationName
@NonNull public String getProvarAutomationName()
-
getBuildFile
@NonNull public String getBuildFile()
-
getTestPlan
@NonNull public String getTestPlan()
-
getTestFolder
@NonNull public String getTestFolder()
-
getEnvironment
@NonNull public String getEnvironment()
-
getBrowser
@NonNull public ProvarAutomation.Browser getBrowser()
-
getSecretsPassword
@NonNull public Secret getSecretsPassword()
-
getSalesforceMetadataCacheSetting
@NonNull public ProvarAutomation.SalesforceMetadataCacheSettings getSalesforceMetadataCacheSetting()
-
getResultsPathSetting
@NonNull public ProvarAutomation.ResultsPathSettings getResultsPathSetting()
-
getProjectName
@NonNull public String getProjectName()
-
getLicensePath
@NonNull public String getLicensePath()
-
perform
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-
getDescriptor
public ProvarAutomation.DescriptorImpl getDescriptor()
- Specified by:
getDescriptorin interfaceDescribable<Builder>- Overrides:
getDescriptorin classBuilder
-
toWindowsCommand
protected static ArgumentListBuilder toWindowsCommand(ArgumentListBuilder args)
Backward compatibility by checking the number of parameters
-
-