I want to be able to say something like:
git branch: commitHash, credentialsId: credentialsId, url: url
The usecase: I\'m doing parallel build
Use a general scm step
checkout([$class: 'GitSCM', branches: [[name: commitHash ]], userRemoteConfigs: [[url: 'http://git-server/user/repository.git']]])