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 class
ProvarAutomation.Browser
static class
ProvarAutomation.DescriptorImpl
static class
ProvarAutomation.ProvarAutomationInstallation
Represents the Provar installation on the system.static class
ProvarAutomation.ProvarAutomationInstaller
Automatic Provar installer.static class
ProvarAutomation.ResultsPathSettings
static class
ProvarAutomation.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.Browser
getBrowser()
String
getBuildFile()
ProvarAutomation.DescriptorImpl
getDescriptor()
String
getEnvironment()
String
getLicensePath()
String
getProjectName()
ProvarAutomation.ProvarAutomationInstallation
getProvar()
Gets the ProvarCLI to invoke, or null to invoke the default one.String
getProvarAutomationName()
ProvarAutomation.ResultsPathSettings
getResultsPathSetting()
ProvarAutomation.SalesforceMetadataCacheSettings
getSalesforceMetadataCacheSetting()
Secret
getSecretsPassword()
String
getTestFolder()
String
getTestPlan()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
protected static ArgumentListBuilder
toWindowsCommand(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:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
-
getDescriptor
public ProvarAutomation.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-
toWindowsCommand
protected static ArgumentListBuilder toWindowsCommand(ArgumentListBuilder args)
Backward compatibility by checking the number of parameters
-
-