public class ArtifactResolver extends hudson.tasks.Builder implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ArtifactResolver.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
List<Artifact> |
artifacts |
static ArtifactResolver.DescriptorImpl |
DESCRIPTOR |
boolean |
enableRepoLogging |
boolean |
failOnError |
String |
releaseChecksumPolicy |
String |
releaseUpdatePolicy |
String |
snapshotChecksumPolicy |
String |
snapshotUpdatePolicy |
String |
targetDirectory |
Constructor and Description |
---|
ArtifactResolver(String targetDirectory,
List<Artifact> artifacts,
boolean failOnError,
boolean enableRepoLogging,
String snapshotUpdatePolicy,
String snapshotChecksumPolicy,
String releaseUpdatePolicy,
String releaseChecksumPolicy) |
Modifier and Type | Method and Description |
---|---|
boolean |
enableRepoLogging() |
boolean |
failOnError() |
List<Artifact> |
getArtifacts()
gets the artifacts
|
ArtifactResolver.DescriptorImpl |
getDescriptor() |
String |
getTargetDirectory() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
public String targetDirectory
public boolean failOnError
public boolean enableRepoLogging
public final String snapshotUpdatePolicy
public final String releaseUpdatePolicy
public final String snapshotChecksumPolicy
public final String releaseChecksumPolicy
@Extension public static final ArtifactResolver.DescriptorImpl DESCRIPTOR
public String getTargetDirectory()
public boolean failOnError()
public boolean enableRepoLogging()
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
public ArtifactResolver.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
Copyright © 2010-2015. All Rights Reserved.