John McGehee
John McGehee

Reputation: 10329

No subdirectory per git repository in Jenkins Multiple SCMs Plugin

I am using two git repositories. How do I clone each into its own subdirectory in the Jenkins workspace? Another user says that he can specify a subdirectory for each of his multiple repositories:

Can specify a subdirectory

However, in my Jenkins Job and Multijob configurations, I only see the Advanced options Name and Refspec:

Cannot specify a subdirectory

I am using Multiple SCMs Plugin 0.4 with Git Plugin 2.3.5.

Upvotes: 1

Views: 646

Answers (1)

devkiela
devkiela

Reputation: 11

It's under Additional Behaviours - Check out to a sub-directory.

Upvotes: 1

Related Questions