public class RapidDeployConnectorProxy extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTION_BAD_MESSAGE |
static String |
INSUFFICIENT_PERMISSIONS_MESSAGE |
static String |
NO_PROTOCOL_MESSAGE |
static String |
NOT_EMPTY_MESSAGE |
static String |
WRONG_PROJECT_MESSAGE |
| Constructor and Description |
|---|
RapidDeployConnectorProxy() |
| Modifier and Type | Method and Description |
|---|---|
String |
createPackagesTable(String serverUrl,
String authenticationToken,
String project) |
List<String> |
getDeploymentPackages(String serverUrl,
String authenticationToken,
String project,
String target) |
List<String> |
getJobPlans(String serverUrl,
String authenticationToken) |
List<String> |
getProjects(String serverUrl,
String authenticationToken)
Method that caches the projects to ease the form validation
|
List<String> |
getTargets(String serverUrl,
String authenticationToken,
String project) |
boolean |
isNewConnection() |
static boolean |
performJobDeployment(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
String serverUrl,
String authenticationToken,
String project,
String target,
String packageName,
Boolean asynchronousJob) |
static boolean |
performJobPlanRun(hudson.model.BuildListener listener,
String serverUrl,
String authenticationToken,
String jobPlan,
Boolean asynchronousJob,
Boolean showFullLogs) |
static boolean |
performPackageBuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
String serverUrl,
String authenticationToken,
String project,
String packageName,
String archiveExtension) |
void |
setNewConnection(boolean newConnection) |
public static final String NOT_EMPTY_MESSAGE
public static final String NO_PROTOCOL_MESSAGE
public static final String CONNECTION_BAD_MESSAGE
public static final String WRONG_PROJECT_MESSAGE
public static final String INSUFFICIENT_PERMISSIONS_MESSAGE
public boolean isNewConnection()
public void setNewConnection(boolean newConnection)
public static boolean performPackageBuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
String serverUrl,
String authenticationToken,
String project,
String packageName,
String archiveExtension)
public static boolean performJobDeployment(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
String serverUrl,
String authenticationToken,
String project,
String target,
String packageName,
Boolean asynchronousJob)
public static boolean performJobPlanRun(hudson.model.BuildListener listener,
String serverUrl,
String authenticationToken,
String jobPlan,
Boolean asynchronousJob,
Boolean showFullLogs)
public List<String> getProjects(String serverUrl, String authenticationToken)
public List<String> getTargets(String serverUrl, String authenticationToken, String project) throws Exception
Exceptionpublic List<String> getDeploymentPackages(String serverUrl, String authenticationToken, String project, String target) throws Exception
ExceptionCopyright © 2016–2020. All rights reserved.