1

Is there any way to exclude .cs files while checkout from SVN in jenkins? I need to fetch only the files needed for release not all the files used in development. So the workspace should contains only the design files and dll.

1 Answers1

0

Several options come to my mind:

  • Specify the Subversion repository URL in such way to check out, only specific release directory, such as http://svn.repo.org/repos/project/release/.

  • Use Workspace Cleanup Plugin to remove unnecessary files.

  • Try out proposed feature for Subversion Plugin which supposedly implements checkout using sparse checkout (be aware that this is not official release and can contain bugs/regressions).

luka5z
  • 7,525
  • 6
  • 29
  • 52
  • There are no release directory but only branches/tags available where All the files will be available. Will the third option supports exclude files? –  Jun 14 '16 at 00:46