Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,526
Community Members
 
Community Events
176
Community Groups

Disable git Bamboo Proxy for Source Checkout

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

2 answers

2 accepted

1 vote
Answer accepted

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 

1 vote
Answer accepted
Charlie Misonne Community Leader Aug 04, 2022

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}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.2.4
TAGS

Atlassian Community Events