Does Bitbucket Source Branch plugin support "SSH username with private key" type credentials?

18 views
Skip to first unread message

Cameron Morrison

unread,
Feb 14, 2019, 9:20:00 PM2/14/19
to Jenkins Users
Hi,

I am using the bitbucket-source-branch plugin - it's working, but I cannot figure out how to provide "SSH & private key" type credentials to the branch source, when using the Bitbucket source type.

It does work with username/password authentication, and a bare Git type branch source does work with SSH and private key, but the Birbucket source type does not show any SSH credentials at all. Is there something I am missing? Or does the plugin simply not support the SSH and private key credential type for Bitbucket branch sources?

Cheers,
Cameron Morrison


Mark Waite

unread,
Feb 15, 2019, 12:26:09 AM2/15/19
to Jenkins Users
I suspect that it is using API calls that are not available through an ssh connection. 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f835484d-311f-4d3d-90d9-24cc5a2d143c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Richard Bywater

unread,
Feb 15, 2019, 12:36:39 AM2/15/19
to jenkins...@googlegroups.com
Have you added the "Checkout over SSH" behaviour?

Richard.

Cameron Morrison

unread,
Feb 15, 2019, 7:14:35 AM2/15/19
to Jenkins Users
I have now - it's not clear that's an option in the doco - thanks for your help.

Cameron Morrison

unread,
Feb 15, 2019, 7:14:35 AM2/15/19
to Jenkins Users
Yeah, I think so too - I have moved to using a bitbucket app password for Jenkins, which at least limits the damage in case of compromise.

Thanks for your help.
Reply all
Reply to author
Forward
0 new messages