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

WorkspaceCleanupThread deletes Matrix project workspaces

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Incomplete
    • Component/s: core
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      Problem:
      A matrix project is set up to build on several slave nodes.
      Its workspace directory is cleaned at slaves even if there is a running build.

      Description:
      WorkspaceCleanupThread uses shouldBeDeleted method to determine should the
      workspace be deleted or not. It checks:
      1) was the workspace directory modified at least 30 days ago;
      2) was the project last built on the specific node.

      Matrix project workspace directory contains axis subdirectories, therefore it is
      not touched by a build. So the 1st check is passed.
      Matrix project build node points to the master. So the 2nd check is passed for a
      slave.
      So a matrix project workspace is deleted after 30 days since last axis
      configuration change.

        Attachments

          Issue Links

            Activity

            kirill_evstigneev Kirill Evstigneev created issue -
            kutzi kutzi made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-3841 [ JENKINS-3841 ]
            danielbeck Daniel Beck made changes -
            Link This issue is related to JENKINS-21023 [ JENKINS-21023 ]
            danielbeck Daniel Beck made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Incomplete [ 4 ]
            torstenreinhard Torsten Reinhard made changes -
            Resolution Incomplete [ 4 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            danielbeck Daniel Beck made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Resolution Incomplete [ 4 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 134574 ] JNJira + In-Review [ 186830 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                kirill_evstigneev Kirill Evstigneev
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: