public class ElectricFlowUploadArtifactPublisher extends Recorder implements SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
ElectricFlowUploadArtifactPublisher.DescriptorImpl
The class is marked as public so that it can be accessed from views.
|
Publisher.DescriptorExtensionListImpl
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
BuildStep.PublisherList
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
static String |
FLOW_ARTIFACT_REPOSITORY |
BUILDERS, PUBLISHERS
Constructor and Description |
---|
ElectricFlowUploadArtifactPublisher(String repositoryName,
String artifactName,
String artifactVersion,
String filePath,
String configuration) |
Modifier and Type | Method and Description |
---|---|
String |
getArtifactName() |
String |
getArtifactVersion() |
String |
getConfiguration()
We'll use this from the
config.jelly . |
ElectricFlowUploadArtifactPublisher.DescriptorImpl |
getDescriptor() |
String |
getFilePath() |
Credential |
getOverrideCredential() |
String |
getRelativeWorkspace() |
String |
getRepositoryName() |
BuildStepMonitor |
getRequiredMonitorService() |
void |
perform(Run<?,?> run,
FilePath workspace,
Launcher launcher,
TaskListener taskListener) |
void |
setOverrideCredential(Credential overrideCredential) |
void |
setRelativeWorkspace(String relativeWorkspace) |
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, perform, prebuild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
perform, perform, requiresWorkspace
getProjectAction, getProjectActions, perform, prebuild
public static final String FLOW_ARTIFACT_REPOSITORY
public void perform(@NonNull Run<?,?> run, @NonNull FilePath workspace, @NonNull Launcher launcher, @NonNull TaskListener taskListener) throws InterruptedException, IOException
perform
in interface SimpleBuildStep
InterruptedException
IOException
public String getArtifactName()
public String getArtifactVersion()
public String getConfiguration()
config.jelly
.config.jelly
.public Credential getOverrideCredential()
@DataBoundSetter public void setOverrideCredential(Credential overrideCredential)
public ElectricFlowUploadArtifactPublisher.DescriptorImpl getDescriptor()
getDescriptor
in interface Describable<Publisher>
getDescriptor
in class Recorder
public String getFilePath()
public String getRepositoryName()
public String getRelativeWorkspace()
@DataBoundSetter public void setRelativeWorkspace(String relativeWorkspace)
public BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface BuildStep
Copyright © 2016–2024. All rights reserved.