Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins Workflow: Multibranch plugin checkout to subdirectory

How can I checkout from SCM in a Jenkins Workflow: Multibranch job into a subdirectory of the job workspace? Are there any option to this:

checkout scm
like image 966
Lars Bilke Avatar asked Aug 07 '15 10:08

Lars Bilke


1 Answers

dir('subdir') {
    checkout scm
}
like image 176
Jesse Glick Avatar answered Oct 21 '22 11:10

Jesse Glick