I'm not sure you need a Jenkinsfile to do that, but it certainly seems like
it can be done with a Jenkinsfile if that is your preference.
https://github.com/jenkinsci/pipeline-examples/blob/master/pipeline-examples/unstash-different-dir/unstashDifferentDir.groovy
shows
how to checkout a repository
Hi, I'm new to Jenkins and I'm trying to find how to clone a git repo and
then copy some of the files into another server. Any suggestions what
plugins can I use ? or any examples?
thanks
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To