How to enable SSH git checkout on Multibranch Pipelines


  • When trying to fetch your repo in a Multibranch Pipeline using SSH, you’re only being asked to provide an HTTPS checkout URL.
  • If you run git remote -v on your build checkout, you notice your remotes URLs are HTTPS.



In order to enable the SSH checkout you have to add a new behavior to the checkout section.

  1. Add your HTTPS credentials for the repo checkout.
  2. Add the HTTPS repo URL.

  1. Add a new Behavior and select Checkout over SSH.

  1. Add your SSH credentials to the new behavior that got added to enable the checkout over SSH.

Tested product/plugin versions

CloudBees CI Client Controller -

CloudBees GitHub Branch Source Plugin - 2.8.3


CloudBees Github Branch Source Plugin

Have more questions?


Please sign in to leave a comment.