public class MavenArtifactDeploySource extends DeploySource
MavenBuild based on GACT coordinates.| Modifier and Type | Class and Description |
|---|---|
static class |
MavenArtifactDeploySource.DescriptorImpl
Descriptor for
MavenArtifactDeploySource |
ExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_TYPE
The default type of artifact that this will look for.
|
| Constructor and Description |
|---|
MavenArtifactDeploySource(String groupId,
String artifactId,
String classifier,
String type)
Constructor used by stapler.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
FilePath |
getApplicationFile(FilePath workspace)
Gets the application file to deploy from the specified workspace or
null if the workspace does
not have the deployable. |
File |
getApplicationFile(Run run)
Gets the application file to deploy from the specified
Run or null if the run
does not have the
deployable. |
String |
getArtifactId()
Returns the artifactId to match or (@code null) to match any.
|
String |
getClassifier()
Returns the classifier to match or (@code null) to match the primary artifact.
|
String |
getGroupId()
Returns the groupId to match or (@code null) to match any.
|
String |
getType()
Returns the type of artifact to match.
|
int |
hashCode() |
String |
toString() |
getDescriptorpublic static final String DEFAULT_TYPE
@DataBoundConstructor
public MavenArtifactDeploySource(@CheckForNull
String groupId,
@CheckForNull
String artifactId,
@CheckForNull
String classifier,
@CheckForNull
String type)
groupId - the groupId to match or (@code null) to match any.artifactId - the artifactId to match or (@code null) to match any.classifier - the classifier to match or (@code null) to match the primary artifact.type - the type of artifact to match.@CheckForNull public String getArtifactId()
@CheckForNull public String getClassifier()
@CheckForNull public String getGroupId()
@NonNull public String getType()
public FilePath getApplicationFile(@NonNull FilePath workspace)
null if the workspace does
not have the deployable.getApplicationFile in class DeploySourceworkspace - the workspace.null if the run does not have
the deployable.@CheckForNull public File getApplicationFile(@NonNull Run run)
Run or null if the run
does not have the
deployable.getApplicationFile in class DeploySourcerun - the run.Run or null if the run
does not have
the deployable.Copyright © 2016–2022. All rights reserved.