In Jenkins, how to checkout a project into a specific directory (using GIT)
Posted
by
viebel
on Stack Overflow
See other posts from Stack Overflow
or by viebel
Published on 2012-03-19T09:43:12Z
Indexed on
2012/03/20
17:29 UTC
Read the original article
Hit count: 266
Sorry for the 'svn' style - we are in a process of migration from SVN to GIT (including our CI Jenkins environment).
What do we need is to be able to make Jenkins to checkout (or should I say clone?) the GIT project (repository?) into a specific directory. We've tried some refspecs magic but it wasn't to obvious to understand and to use successfully.
Furthermore, if in the same Jenkins project we need to checkout several private GitHub repositories into several separate dirs under a project root. How can we do it please?
We have GitHub plugin installed. Hope we've phrased the things right.
© Stack Overflow or respective owner