Nipun Garg
Nipun Garg

Reputation: 658

How to set different directory for jenkins?

By default jenkins build code in "var/lib/jenkins/workspace/" directory. I installed the git plugin but there is the option for sub-directory. Is there any way we can build it in differt directory like "/root" for diffrent repos?

Upvotes: 0

Views: 403

Answers (1)

Suresh
Suresh

Reputation: 750

Click on Advanced button on the right side of the Job's config page

Check "Use custom workspace"

Fill in the path to the desired folder path.

Upvotes: 1

Related Questions