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

Workspace Cleanup Plugin does not play nicely with the Copy To Slave plugin

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • ws-cleanup-plugin
    • None
    • Jenkins 1.452, Win7

    Description

      Hi there,

      The Workspace Cleanup Plugin does not play nicely with the Copy To Slave plugin. Here's a snippet from my console output for my build:

      14:33:23 Deleting project workspace... done
      14:33:23
      14:33:23 [copy-to-slave] Copying 'Engine/Lib/*/.lib, Engine/Lib/*/.pdb, Engine/Lib/*/.a', excluding nothing, from 'file:/c:/JCI/workspace/Expat-Live/CONFIG/Debug/TARGET/GCC/VSVERSION/2008' on 'hudson.slaves.DumbSlave@720397f7' to 'file:/C:/JCI/current_build/Expat-Live/CL167206' on the master.

      Note how the workspace is deleted before the copy step begins. Can this be fixed please? I assume deleting a workspace is something you'd always want to do last.

      I'd be happy to test any fixes.

      Regards,
      Tom.

      Attachments

        Activity

          vjuranek vjuranek added a comment -

          well, IMHO it's a bug in copy-to-slave plugin (unexpected behavior), but it's more easy to fix it directly here as probably this issue is present in more plugins

          vjuranek vjuranek added a comment - well, IMHO it's a bug in copy-to-slave plugin (unexpected behavior), but it's more easy to fix it directly here as probably this issue is present in more plugins
          vjuranek vjuranek added a comment -

          should be fixed in ws-cleanup 0.8

          vjuranek vjuranek added a comment - should be fixed in ws-cleanup 0.8
          tfields Thomas Fields added a comment -

          Thanks for fixing this issue. Do you know when ws-cleanup 0.8 will be available? If it's going to be a while can I get a preview copy please?

          Regards,
          Tom.

          tfields Thomas Fields added a comment - Thanks for fixing this issue. Do you know when ws-cleanup 0.8 will be available? If it's going to be a while can I get a preview copy please? Regards, Tom.
          vjuranek vjuranek added a comment -

          I've already released it. Not sure precisely how long it takes to be available in update center, but it should be there in a few hours.

          vjuranek vjuranek added a comment - I've already released it. Not sure precisely how long it takes to be available in update center, but it should be there in a few hours.
          tfields Thomas Fields added a comment -

          New version is working great. Thanks very much for fixing.

          Cheers,
          Tom.

          tfields Thomas Fields added a comment - New version is working great. Thanks very much for fixing. Cheers, Tom.

          People

            vjuranek vjuranek
            tfields Thomas Fields
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: