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

Request preservation of git repository during cleanWs()

    XMLWordPrintable

Details

    • Improvement
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • ws-cleanup-plugin
    • None
    • Jenkins 2.242

    Description

      This is actually for the Workspace Cleanup Plugin (not listed in Components).

      Request the ability to preserve the .git repository clone within a workspace when cleanWs() or an analogue is run within a pipeline. The need to run cleanWs came from our sysadmin because of heavy inode usage in multiple builds instead of disk free space needs. It takes over 2 hours to perform a clone from scratch, so we would like something that keeps the .git directory around. An exclusion pattern might be useful, like cleanButNot(['.git',...]).

      Attachments

        Activity

          rsbeckerca Randall Becker created issue -
          markewaite Mark Waite made changes -
          Field Original Value New Value
          Component/s ws-cleanup-plugin [ 15930 ]
          Component/s core [ 15593 ]

          People

            Unassigned Unassigned
            rsbeckerca Randall Becker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: