Hi

One of my colleagues is trying to get Jenkins 2 up and running with the
Bitbucket Branch Source plugin using our Bitbucket Server infrastructure.

We've run into an issue with the plugin as it appears it expects the server
URL defined in the Bitbucket endpoint configuration to be the same as the
one to be used for cloning purposes even for SSH.

So for instance if you have defined
https://bitbucketserver.example.com/bitbucket as the server URL, when
cloning via SSH it attempts to use ssh://bitbucketserver.example.com:7999
(where 7999 is correctly read out of the clone link URLs returned by the
Bitbucket API). In our case however, the web URL is different to the SSH
url. For instance, based on the previous example, our SSH address is ssh://
actualservername.example.com:7999/

My question is that, rather than reusing the server URL for cloning
operations, is there a reason why the clone URLs returned by the API for a
repository aren't used instead? This would seem to allow Bitbucket to tell
the plugin exactly where to look in case any other corner cases like this
come up.

Cheers
Richard.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAMui945Sck2UTwhw8n7Ny0hbzc6CC_Aon8tDsXTBGa8cHzRFsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to