title: Jenkins groovy pipeline - git checkout error
body: <p>I have defined a simple Jenkins pipeline using the Groovy DSL. My intention is that it will simply checkout my git repository.  However I am getting an error.</p>
  
  <p>Given my groovy DSL defintion:</p>
  
  <pre><code>stage 'build'
  node 
  {
      git branch: '*/mybranch', credentialsId: 'my credentials', url: 'git@git.servername:pathto/myrepo.git'
  }
  </code></pre>
  
  <p>I'm expecting the Jenkins pipeline to simply checkout my git repository.</p>
  
  <p>However I'm getting the following error:</p>
  
  <pre><code>ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
  Finished: FAILURE
  </code></pre>
  
  <p>Can anyone help me in resolving this issue please?</p>