com.michelin.cio.hudson.plugins.copytoslave
Class CopyToSlaveUtils

java.lang.Object
  extended by com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveUtils

public class CopyToSlaveUtils
extends java.lang.Object

Author:
Romain Seguy (http://openromain.blogspot.com)

Constructor Summary
CopyToSlaveUtils()
           
 
Method Summary
static hudson.FilePath getProjectWorkspaceOnMaster(hudson.model.AbstractBuild build, java.io.PrintStream logger)
           
static hudson.FilePath getProjectWorkspaceOnMaster(hudson.model.AbstractProject project, java.io.PrintStream logger)
           
static void hudson5977(hudson.FilePath targetDir)
          Workaround for HUDSON-5977.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyToSlaveUtils

public CopyToSlaveUtils()
Method Detail

getProjectWorkspaceOnMaster

public static hudson.FilePath getProjectWorkspaceOnMaster(hudson.model.AbstractBuild build,
                                                          java.io.PrintStream logger)

getProjectWorkspaceOnMaster

public static hudson.FilePath getProjectWorkspaceOnMaster(hudson.model.AbstractProject project,
                                                          java.io.PrintStream logger)

hudson5977

public static void hudson5977(hudson.FilePath targetDir)
                       throws java.io.IOException,
                              java.lang.InterruptedException
Workaround for HUDSON-5977.

The code of this method comes from the copyartifact plugin by Alan Harder, more precisely from hudson.plugins.copyartifact.CopyArtifact.perform(), with some minor modifications. Cf. MIT License header.

Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2010. All Rights Reserved.