|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
org.jenkinsci.plugins.packagecloud.ArtifactPublisher
public class ArtifactPublisher
The type Artifact publisher.
| Nested Class Summary | |
|---|---|
static class |
ArtifactPublisher.DescriptorImpl
BuildStepDescriptor |
| Nested classes/interfaces inherited from class hudson.tasks.Publisher |
|---|
hudson.tasks.Publisher.DescriptorExtensionListImpl |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
|---|
hudson.tasks.BuildStep.PublisherList |
| Field Summary | |
|---|---|
static ArtifactPublisher.DescriptorImpl |
DESCRIPTOR
Hold an instance of the Descriptor implementation of this publisher. |
| Fields inherited from interface hudson.tasks.BuildStep |
|---|
BUILDERS, PUBLISHERS |
| Constructor Summary | |
|---|---|
ArtifactPublisher(String username,
String repository,
String distro,
String hostname,
String port,
String protocol,
String repositoryOwner,
Boolean verbose)
Instantiates a new Artifact publisher. |
|
| Method Summary | |
|---|---|
String |
getDistro()
Gets distro. |
String |
getHostname()
Gets hostname. |
String |
getPort()
|
String |
getProtocol()
|
String |
getRepository()
We'll use this from the config.jelly. |
String |
getRepositoryOwner()
We'll use this from the config.jelly. |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
|
String |
getUsername()
Gets username. |
Boolean |
getVerbose()
|
boolean |
isSupportedPackage(String filename)
Is supported package. |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
|
| Methods inherited from class hudson.tasks.Notifier |
|---|
getDescriptor |
| Methods inherited from class hudson.tasks.Publisher |
|---|
all, getProjectAction, needsToRunAfterFinalized, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
|---|
getProjectAction, getProjectActions, perform, prebuild |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@Extension public static final ArtifactPublisher.DescriptorImpl DESCRIPTOR
| Constructor Detail |
|---|
@DataBoundConstructor
public ArtifactPublisher(String username,
String repository,
String distro,
String hostname,
String port,
String protocol,
String repositoryOwner,
Boolean verbose)
username - the usernamerepository - the repositorydistro - the distrohostname - the hostnameport - the portprotocol - the protocolrepositoryOwner - the repository owner (for collab)verbose - if verbose| Method Detail |
|---|
public String getRepository()
public String getRepositoryOwner()
public String getDistro()
public String getUsername()
public String getHostname()
public String getPort()
public String getProtocol()
public Boolean getVerbose()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public boolean isSupportedPackage(String filename)
filename - the filename
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerbuild - launcher - listener -
InterruptedException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||