Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23313

Overwrite Files or only cleanup files to be copied to remote directory

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Blocker Blocker
    • None
    • JENKINS WAR VERSION 1.566
      WINDOWS SERVER 2008 R2 ENTERPRISE
      AMD OPTERON(TM) PROCESSOR 6136 2.4 GHZ (2 PROCESSORS)
      4.0 GB RAM
      64-BIT OPERATION SYSTEM
      WEBSPHERE APPLICATION SERVER 8.5.5

      When attempting to write to a remote server unless you specify "Clean-up remote directory before deployment" the files fail to move with error:

      [ArtifactDeployer] - Starting deployment from the post-action ...
      [ArtifactDeployer] - All the files have not been deployed. There was 2 input files but only 0 was copied. Maybe you have to use 'Delete content of remote directory' feature for deleting remote directory before deploying.
      [ArtifactDeployer] - Stopping deployment from the post-action...

      I assume this is the option that is what the error is referring to as there is no option for 'Delete content of remote directory'. The only issue with this is that it deletes everything from the directory. This is a file share and there are other files in the directory that need to reside in the directory that are generated from other builds and used by other builds.

      Either the cleanup option should only remove files that are attempting to be moved, allow another option to perform that way, or have an option to overwrite the files if they exist.

      This plug works as I need to with the exception of this and I cannot use the plugin until a better cleanup solution exists.

            gbois Gregory Boissinot
            bcoveny Bruce Coveny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: