Hi,
is there a way to disable the Bamboo Proxy for Git when using the Source Code Checkout Task and just use the native git command.
Best
Patrick
Hello @Patrick Schneider
As mentioned by @Charlie Misonne the purpose of the Checkout/Pull/Push tasks is to exactly overcome authentication issues by using a proxy that would do the heavy lifting.
If you have a particular reason to use a direct git interaction, you need to use a script task.
We have a nice KB that explains how to use that alternative method.
Thank you,
Eduardo Alvarenga
Atlassian Support APAC
Hi Patrick,
If you want to use the direct GIT URL's you should use a script task instead of a source code checkout task. I don't think there is an option in the source code checkout task to bypass the proxy mechanis of Bamboo.
Something like this should work:
git clone <your-url>
Of course you need to take care of authentication parameters yourself by using encrypted variables or options like --depth 1 for a shallow clone.
If you keep the connection between build and only omit the source code checkout task you can still use the URL of the repository like this:
git clone ${bamboo.planRepository.repositoryUrl}
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.