I\'m using the Jenkins pipeline plugin with a Jenkinsfile.
In one repository, called vms.git, I have the Jenkinsfile and an application it builds.
I have a
Another elegant solution for handling multiple Git repositories within single pipeline can be found at this thread.
node {
dir('RepoOne') {
git url: 'https://github.com/somewhere/RepoOne.git'
}
dir('RepoTwo') {
git url: 'https://github.com/somewhere/RepoTwo.git'
}
sh('. RepoOne/build.sh')
sh('. RepoTwo/build.sh')
}