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

workspace cleanup removes workspaces for running job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • hudson-wsclean-plugin
    • None
    • 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

        1. hudson-wsclean-plugin.hpi
          24 kB
          pjdarton
        2. Screen Shot 2017-03-31 at 15.27.28.png
          43 kB
          Alexey Bychko
        3. Screen Shot 2017-03-31 at 15.42.40.png
          24 kB
          Alexey Bychko

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

              Created:
              Updated:
              Resolved: