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

Shared workspace plugin generating multiple directories for same workspace

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ubuntu 12.04 LTS
      org.jenkins-ci.main:jenkins-war:1.561
      org.jenkins-ci.plugins:shared-workspace:1.0.1

      when running multiple concurrent jobs which access the same shared workspace, but do not write to this workspace, nor do they execute the same files or read the same resources.
      I found multiple copies of the same directories: deploy,deploy@2,deploy@3

          [JENKINS-23031] Shared workspace plugin generating multiple directories for same workspace

          This affects my jenkins setup as well

          Ahmed El-Gamil added a comment - This affects my jenkins setup as well

          M Chon added a comment -

          I set up a MultiJob with 3 phases. I am attempting for each phase to reference the shared workspace set up by the parent. I cannot get it to work properly. Also, I deleted everything under the 'sharedspace' directory, and re-ran my MultiJob once, and it created 2 dirs under 'sharedspace', MyRepo and MyRepo@2. Under MyRepo, the git repo was checked out. Under MyRepo@2, there was nothing. The phases are using the MyRepo@2 area, but I want them to be using the MyRepo area so they have access to the checked-out files.

          M Chon added a comment - I set up a MultiJob with 3 phases. I am attempting for each phase to reference the shared workspace set up by the parent. I cannot get it to work properly. Also, I deleted everything under the 'sharedspace' directory, and re-ran my MultiJob once, and it created 2 dirs under 'sharedspace', MyRepo and MyRepo@2. Under MyRepo, the git repo was checked out. Under MyRepo@2, there was nothing. The phases are using the MyRepo@2 area, but I want them to be using the MyRepo area so they have access to the checked-out files.

            Unassigned Unassigned
            heathenasparagus Gil Zellner
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: