1

I’m using Jenkins 1.651.1 running on JBoss 7.1.3.as.final.

I have a Maven job configured to use SVN.
In my Source Code Management section, I have selected "Subversion" which is our source code repository.

In the repository URL section, I have entered my trunk URL, but is there a way I can specify that only certain folders within the trunk get checked out?

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
Dave
  • 15,639
  • 133
  • 442
  • 830

2 Answers2

1

You can just enter a URL to a subfolder within your repository.

E.g.

http://my.subversionurl.com/trunk/some/other/path

would check out the /some/other/path directory

TO add multiple repositories click the Add Module... button and then add multiple repository paths as mentioned above.

You'll also need to set the local module directory to the corresponding sub directory of each to make sure each checked out folder goes into its own subfolder.

cowls
  • 24,013
  • 8
  • 48
  • 78
  • Yeah but I want multiple folders, not just one. I want folders A, B, and C, but don't want folders D, E, and F. Does that make sense? – Dave May 04 '16 at 21:30
  • Ah got ya, Ive updated the answer with details on how to checkout multiple repositories – cowls May 04 '16 at 21:49
0

Do your setup advanced behavior.

Your can define which folders will be monitored.

whitediver
  • 462
  • 3
  • 12