workspace cleanup removes workspaces for running job

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical
    • Component/s: hudson-wsclean-plugin
    • None
    • Environment:
      Jenkins ver. 2.32.3, workspace cleanup plugin 1.0.5

      if we run a lot of copies of the same job with workspace cleanup enabled - every next job will clean up workspaces on slaves with already running jobs. jobs are executed in parallel, so perhaps it's better to check if workspace is used currently and belongs to running job before the cleanup. it's important for us because we have ENOSPACE with cleanup disabled and many failed jobs with cleanup enabled. running job copies one-by-one is not an option for us, because it will take a lot of time.

       

      thanks in advance

            Assignee:
            pjdarton
            Reporter:
            Alexey Bychko
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: