I have two branches on BitBucket: master
and develop
. I\'ve also got a BitBucket Team Folder job configured on my Jenkins server to build that reposito
You can use the git command which is the less advanced version of the checkout
command
stage('Repo Checkout') {
steps {
deleteDir()
dir("repo-one-master") {
git url: "ssh://git@host.com/folder/project",
branch: 'master'
}
dir("repo-one-feature) {
git url: "ssh://git@host.com/folder/project",
branch: 'some-branch'
}
}
}