jenkinsci / bitbucket-branch-source-plugin

Bitbucket Branch Source Plugin
https://plugins.jenkins.io/cloudbees-bitbucket-branch-source
MIT License
217 stars 349 forks source link

Fix checkout over ssh #821

Closed MartinHelwig closed 3 months ago

MartinHelwig commented 4 months ago

Use the checkoutCredentialsId if available so that the credentials are an instance of SSHUserPrivateKey, the protocol switches to ssh and getCloneLink do not fail. This should fix #811

Your checklist for this pull request

lifeofguenter commented 3 months ago

@MartinHelwig can you please have a look at the merge conflicts?

MartinHelwig commented 3 months ago

@lifeofguenter the merge conflicts are resolved.