Hello everyone!
I'm curious if it's possible to change the way Bitbucket Pipelines clone our repositories from HTTPS to SSH. Has anyone here done this before? If so, could you kindly share the steps or pointers on how to make this switch?
G'day, @Oguz Gurler
Please specify which part of the connection you are attempting to modify. Are you looking to make changes during the initial build setup, or are you referring to adjustments within the build steps?
Unfortunately, if you intend to modify the connection during the build setup, this isn't feasible. However, if you seek to alter the connection within the build steps, you can adjust it according to your preferences.
For build steps, you can check the following page on how to clone in pipeline steps via SSH from another repository:
https://bitbucket.org/blog/cloning-another-bitbucket-repository-in-bitbucket-pipelines
Regards,
Syahrul
G'day, @Syahrul
We don't want to clone another repo.
At "Build setup", pipeline cloning repository which will be built, via https. We need to learn that is there any way to change this to ssh?
Regards,
Oguz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Oguz Gurler
Thanks for the update. Unfortunately, that is not possible. The default clone during build setups is only via HTTPS.
That said, Interested to understand why you wish to change the connection.
Cheers,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Syahrul
We are trying to change the connection because have timeout problem when cloning with HTTPS.
We also asked the a question about this problem:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Oguz Gurler
Thanks for the update. I suggest responding to one of my coworkers, Theodora, on the questions she has to investigate the issue further.
However, for this question, the answer is no, we can't change the build setups clone connection.
Regards,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.