public class DevTestCreateAndDeployVs extends DefaultBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
DevTestCreateAndDeployVs.DescriptorImpl |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
DevTestCreateAndDeployVs(boolean useCustomRegistry,
String host,
String port,
String vseName,
String config,
String deploy,
String undeploy,
String inputFile1,
String inputFile2,
String activeConfig,
String dataFiles,
String swaggerurl,
String ramlurl,
String wadlurl,
String tokenCredentialId,
boolean secured)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getActiveConfig() |
String |
getConfig() |
String |
getDataFiles() |
String |
getDeploy() |
String |
getInputFile1() |
String |
getInputFile2() |
String |
getRamlurl() |
String |
getSwaggerurl() |
String |
getUndeploy() |
String |
getVseName() |
String |
getWadlurl() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
void |
setUndeploy(String undeploy) |
getHost, getPassword, getPort, getTokenCredentialId, getUsername, isSecured, isUseCustomRegistry, updateCredentails
all, getDescriptor, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
@DataBoundConstructor public DevTestCreateAndDeployVs(boolean useCustomRegistry, String host, String port, String vseName, String config, String deploy, String undeploy, String inputFile1, String inputFile2, String activeConfig, String dataFiles, String swaggerurl, String ramlurl, String wadlurl, String tokenCredentialId, boolean secured)
useCustomRegistry
- if we are overriding default Registryhost
- host for custom Registryport
- port for custom RegistryvseName
- name of VSE where we want to create and deploy the VSconfig
- configuration JSON contains virtual service, transport protocol, data protocol detailsdeploy
- flag to deploy created service to VSEundeploy
- flag to undeploy service with same name if already deployedinputFile1
- path to input file to be uploadedinputFile2
- path to input file to be uploadedactiveConfig
- path to active config file to be uploadeddataFiles
- patch to data files to be uploaded.tokenCredentialId
- credentials token idsecured
- if https should be for custom registrypublic String getVseName()
public String getConfig()
public String getDeploy()
public String getUndeploy()
public void setUndeploy(String undeploy)
public String getInputFile1()
public String getInputFile2()
public String getActiveConfig()
public String getDataFiles()
public String getSwaggerurl()
public String getRamlurl()
public String getWadlurl()
public void perform(hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.Launcher launcher, 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.