public class DevTestDeployTest extends DefaultBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
DevTestDeployTest.DescriptorImpl |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
DevTestDeployTest(boolean useCustomRegistry,
String host,
String port,
String marFilePath,
String testType,
String tokenCredentialId,
boolean secured)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getMarFilePath() |
String |
getTestType() |
boolean |
isTest()
Method for determining if we are executing test or testsuite.
|
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
getHost, getPassword, getPort, getTokenCredentialId, getUsername, isSecured, isUseCustomRegistry, updateCredentails
all, getDescriptor, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
@DataBoundConstructor public DevTestDeployTest(boolean useCustomRegistry, String host, String port, String marFilePath, String testType, String tokenCredentialId, boolean secured)
useCustomRegistry
- if we are overriding default Registryhost
- host for custom Registryport
- port for custom RegistrymarFilePath
- path to mar file with test/testsuitetestType
- switch determining if executing test or testsuite (link between
frontend and backend) (possible values from UI "tests" or "suites"tokenCredentialId
- credentials token idsecured
- if https should be for custom registrypublic boolean isTest()
public String getTestType()
public String getMarFilePath()
public void perform(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
perform
in class DefaultBuildStep
InterruptedException
IOException
Copyright © 2016–2022 CA Technologies. All rights reserved.