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

[Feature] Exclude Directories from Checkout using sparse checkout

    • Icon: Patch Patch
    • Resolution: Unresolved
    • Icon: Minor Minor
    • subversion-plugin
    • None

      Problem:
      On big svn it is not possible to exclude directories from checkout / update.

      Feature:
      A field "exclude checkout" has to be added to ModuleLocation.
      In this field relative paths (base path is svn url) can be defined,
      which will be excluded from checkout / update of a workspace.
      The delimiter of multiple directories are ';'.
      The folder separator is '/'.

      Example: "subfolder/subfolder;foo/bar"

      Solution:
      Find attached our changes to the svnplugin.
      This first approach seems to be working well.

      But where is a problem with the method "finish()"
      in hudson.scm.SubversionChangeLogSet.
      We get errors in the sorting routine. Our quick and dirty solution was to deactivate the sorting, but we don't know possible dependencies to other functionality.

      It would be nice if this or a similar function can be integrated in one of the next releases of the subversion plugin.

      Best regards

      Daniel

          [JENKINS-25273] [Feature] Exclude Directories from Checkout using sparse checkout

          I have tried this plugin to exlude checkout of few directories from trunk folder. It exludes the specified folder well, but the required folder did not checkout the subdirectories and files.

          It seems, it is excluding subdirectories of required folder checkout also.

          Sujeeth Pakala added a comment - I have tried this plugin to exlude checkout of few directories from trunk folder. It exludes the specified folder well, but the required folder did not checkout the subdirectories and files. It seems, it is excluding subdirectories of required folder checkout also.

            Unassigned Unassigned
            daniel727 Daniel M.
            Votes:
            10 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: