I am using Jenkins / Git to check out a Grails project. The Grails project is in a sub directory for the Git project I check out.
So that when Git does the checkout, I end up with
.jenkins/jobs/my_jenkins_job/workspace/git_base_dir/grails_project_dir/grails_files
on my filesystem
I want:
.jenkins/jobs/my_jenkins_job/workspace/grails_files
Now I could run a shell to move files around but I prefer a cleaner way.
In the branch specifier on Jenkins I have tried:
develop/grails_project_dir/grails_files
But this just gives:
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
Is there any way I can get the git plugin to just check out specific folders in a git project?
Thanks