Dave
Dave

Reputation: 19160

In Jenkins, how can I specify which folders get checked out of my trunk in the "Source Code Management" section?

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?

Upvotes: 1

Views: 911

Answers (2)

whitediver
whitediver

Reputation: 468

Do your setup advanced behavior.

Your can define which folders will be monitored.

Upvotes: 0

cowls
cowls

Reputation: 24334

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.

Upvotes: 1

Related Questions