public class ElectricFlowPublishApplication
extends hudson.tasks.Publisher
| Modifier and Type | Class and Description |
|---|---|
static class |
ElectricFlowPublishApplication.DescriptorImpl
Descriptor for
BuildStepDescriptor. |
| Modifier and Type | Field and Description |
|---|---|
static String |
deploymentPackageName |
| Constructor and Description |
|---|
ElectricFlowPublishApplication(String configuration,
String artifactName,
String filePath) |
| Modifier and Type | Method and Description |
|---|---|
static File |
createZipArchive(String basePath,
String archiveName,
List<File> files) |
static File |
createZipArchive(String basePath,
String archiveName,
List<File> files,
boolean cutTopLevelDir) |
static File |
createZipArchive(String basePath,
String archiveName,
String path) |
static File |
createZipArchive(String basePath,
String archiveName,
String[] files) |
String |
getConfiguration()
We'll use this from the
config.jelly. |
static String |
getCurrentTimeStamp() |
ElectricFlowPublishApplication.DescriptorImpl |
getDescriptor() |
String |
getFilePath() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
static File |
makeApplicationArchive(String workspaceDir,
String filePath) |
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuildpublic static final String deploymentPackageName
public boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerpublic String getConfiguration()
config.jelly.config.jelly.public ElectricFlowPublishApplication.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Publisherpublic String getFilePath()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public static File createZipArchive(String basePath, String archiveName, String path) throws IOException
IOExceptionpublic static File createZipArchive(String basePath, String archiveName, String[] files) throws IOException
IOExceptionpublic static File createZipArchive(String basePath, String archiveName, List<File> files) throws IOException
IOExceptionpublic static File createZipArchive(String basePath, String archiveName, List<File> files, boolean cutTopLevelDir) throws IOException
IOExceptionpublic static File makeApplicationArchive(String workspaceDir, String filePath) throws IOException
IOExceptionpublic static String getCurrentTimeStamp()
Copyright © 2016–2017. All rights reserved.