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

When deleting the entire workspace, perform it asynchronously

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When deleting the entire workspace, the folder can be renamed/moved (so the next build can create its workspace from scratch) and then deleted asynchronously.

      The duration of builds with very large workspaces could improve significantly, if the builds could finish without waiting for the workspace deletion to finish.

        Attachments

          Activity

          Hide
          eriklovlie Erik Lovlie added a comment -

          Any updates on this? This would be very useful.

          Show
          eriklovlie Erik Lovlie added a comment - Any updates on this? This would be very useful.
          Show
          olivergondza Oliver Gondža added a comment - https://github.com/jenkinsci/ws-cleanup-plugin/pull/20
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oliver Gondža
          Path:
          src/test/java/hudson/plugins/ws_cleanup/CleanupTest.java
          http://jenkins-ci.org/commit/ws-cleanup-plugin/0af6bfbc2a5eef5c1664d02bc9b450c9f45654e6
          Log:
          JENKINS-20056 Some more tests

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: src/test/java/hudson/plugins/ws_cleanup/CleanupTest.java http://jenkins-ci.org/commit/ws-cleanup-plugin/0af6bfbc2a5eef5c1664d02bc9b450c9f45654e6 Log: JENKINS-20056 Some more tests
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oliver Gondža
          Path:
          src/main/java/hudson/plugins/ws_cleanup/Cleanup.java
          src/main/java/hudson/plugins/ws_cleanup/PreBuildCleanup.java
          src/main/java/hudson/plugins/ws_cleanup/RemoteCleaner.java
          src/main/java/hudson/plugins/ws_cleanup/Wipeout.java
          src/main/java/hudson/plugins/ws_cleanup/WsCleanup.java
          src/test/java/hudson/plugins/ws_cleanup/CleanupTest.java
          http://jenkins-ci.org/commit/ws-cleanup-plugin/8e31d6a90fa0310ab18ab1384ac4fe142fa65c4d
          Log:
          [FIXED JENKINS-20056] Delete workspace asynchronously

          Compare: https://github.com/jenkinsci/ws-cleanup-plugin/compare/784d5afb95eb...8e31d6a90fa0

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: src/main/java/hudson/plugins/ws_cleanup/Cleanup.java src/main/java/hudson/plugins/ws_cleanup/PreBuildCleanup.java src/main/java/hudson/plugins/ws_cleanup/RemoteCleaner.java src/main/java/hudson/plugins/ws_cleanup/Wipeout.java src/main/java/hudson/plugins/ws_cleanup/WsCleanup.java src/test/java/hudson/plugins/ws_cleanup/CleanupTest.java http://jenkins-ci.org/commit/ws-cleanup-plugin/8e31d6a90fa0310ab18ab1384ac4fe142fa65c4d Log: [FIXED JENKINS-20056] Delete workspace asynchronously Compare: https://github.com/jenkinsci/ws-cleanup-plugin/compare/784d5afb95eb...8e31d6a90fa0

            People

            • Assignee:
              olivergondza Oliver Gondža
              Reporter:
              danielbeck Daniel Beck
            • Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: