提交 7ec87871 编写于 作者: K Kohsuke Kawaguchi

Wrong target

上级 bb848952
......@@ -1900,7 +1900,7 @@ public final class FilePath implements Serializable {
* @param target the destination basedir
* @param description a description of the fileset, for logging purposes
* @return the number of files copied
* @since 1.531
* @since 1.532
*/
public int copyRecursiveTo(final DirScanner scanner, final FilePath target, final String description) throws IOException, InterruptedException {
if(this.channel==target.channel) {
......@@ -2498,7 +2498,7 @@ public final class FilePath implements Serializable {
/**
* Helper class to make it easy to send an explicit list of files using {@link FilePath} methods.
* @since 1.531
* @since 1.532
*/
public static final class ExplicitlySpecifiedDirScanner extends DirScanner {
......
......@@ -108,7 +108,7 @@ public final class DirectoryBrowserSupport implements HttpResponse {
* @param serveDirIndex
* True to generate the directory index.
* False to serve "index.html"
* @since 1.531
* @since 1.532
*/
public DirectoryBrowserSupport(ModelObject owner, VirtualFile base, String title, String icon, boolean serveDirIndex) {
this.owner = owner;
......
......@@ -262,7 +262,7 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run
/**
* Artifact manager associated with this build, if any.
* @since 1.531
* @since 1.532
*/
private @CheckForNull ArtifactManager artifactManager;
......@@ -984,7 +984,7 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run
* <p>This method should be used when existing artifacts are to be loaded, displayed, or removed.
* If adding artifacts, use {@link #pickArtifactManager} instead.
* @return an appropriate artifact manager
* @since 1.531
* @since 1.532
*/
public final @Nonnull ArtifactManager getArtifactManager() {
return artifactManager != null ? artifactManager : new StandardArtifactManager(this);
......@@ -1000,7 +1000,7 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run
* If only displaying existing artifacts, use {@link #getArtifactManager} instead.
* @return an appropriate artifact manager
* @throws IOException if a custom manager was selected but the selection could not be saved
* @since 1.531
* @since 1.532
*/
public final synchronized @Nonnull ArtifactManager pickArtifactManager() throws IOException {
if (artifactManager != null) {
......
......@@ -27,7 +27,7 @@ public abstract class DirScanner implements Serializable {
public abstract void scan(File dir, FileVisitor visitor) throws IOException;
/**
* @since 1.531
* @since 1.532
*/
protected final void scanSingle(File f, String relative, FileVisitor visitor) throws IOException {
if (visitor.understandsSymlink()) {
......
......@@ -37,7 +37,7 @@ import jenkins.util.VirtualFile;
/**
* Manager of artifacts for one build.
* @see ArtifactManagerFactory
* @since 1.531
* @since 1.532
*/
public abstract class ArtifactManager {
......
......@@ -32,7 +32,7 @@ import org.kohsuke.stapler.StaplerRequest;
/**
* List of configured {@link ArtifactManagerFactory}s.
* @since 1.531
* @since 1.532
*/
@Extension
public class ArtifactManagerConfiguration extends GlobalConfiguration {
......
......@@ -36,7 +36,7 @@ import org.kohsuke.stapler.DataBoundConstructor;
* Since the user can configure this class, you must have a {@link DataBoundConstructor}.
* @see ArtifactManagerConfiguration
* @see ArtifactManagerFactoryDescriptor
* @since 1.531
* @since 1.532
*/
public abstract class ArtifactManagerFactory extends AbstractDescribableImpl<ArtifactManagerFactory> implements ExtensionPoint {
......
......@@ -30,7 +30,7 @@ import hudson.model.Descriptor;
/**
* Definition of a kind of artifact manager.
* @see ArtifactManagerFactory
* @since 1.531
* @since 1.532
*/
public abstract class ArtifactManagerFactoryDescriptor extends Descriptor<ArtifactManagerFactory> {
......
......@@ -37,7 +37,7 @@ import jenkins.util.VirtualFile;
/**
* Default artifact manager which transfers files over the remoting channel and stores them inside the build directory.
* May be subclassed to provide an artifact manager which uses the standard storage but which only overrides {@link #archive}.
* @since 1.531
* @since 1.532
*/
public class StandardArtifactManager extends ArtifactManager {
......
......@@ -54,7 +54,7 @@ import javax.annotation.Nonnull;
*
* @see DirectoryBrowserSupport
* @see FilePath
* @since 1.531
* @since 1.532
*/
public abstract class VirtualFile implements Comparable<VirtualFile> {
......
......@@ -103,7 +103,7 @@ public interface MavenBuildProxy {
* @param artifactPath a relative {@code /}-separated path
* @param artifact absolute path name on the slave in the workspace
* @see ArtifactManager#archive
* @since 1.531
* @since 1.532
*/
void queueArchiving(String artifactPath, String artifact);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册