Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to configure proxy details in bamboo while downloading code from bitbucket alone ?

I have linked bitbucket repository to bamboo and I have triggered job from bamboo.  Bamboo is unable to download code from bitbucket becuase proxy is not enabled. So, I want to configure proxy details in bamboo while downloading code from bitbucket alone ?

Plesae let me know how to configure proxy details in bamboo while downloading code from bitbucket alone ?

 

 

2 answers

You don't need proxy..

Make sure bitbucket and bamboo are connected through application links

You should then be able to easily select the repo you needed from the config page

bitbucket and bamboo are already connected through application links but it is showing "Connection refushed and port number 443 blocked" message if I didn't configure proxy in system environment. I want to configure proxy in bamboo while downloading code from bitbucket instead of configuring in system variable

0 votes
Charlie Misonne Community Leader Oct 11, 2019

Normally you should add the proxy settings to the Java options of Bamboo. Bamboo will load them at startup withthe parameters: -Dhttp.proxyHost -Dhttp.proxyPort -Dhttps.proxyHost -Dhttps.proxyPort -Dhttp.nonProxyHost

Do I understand correctly that you don't want to set this in the Bamboo startup parameters and you need to do this "on the fly" for a individual plans?

Currently, I have tried individual plan but it would be better if it is possible to configure bamboo startup parameter also. This bamboo proxy setting should not impact other application because few application is running using proxy and few application is not using proxy.

I want to do this configure in bamboo remote agent. 

Bamboo remote agent startup command:

java -Dhttp.proxyHost=196.11.101.10 -Dhttp.proxyPort=8080 -Dhttps.proxyHost=196.11.101.10 -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts=127.0.*.*\|localhost Dbamboo.agent.ignoreServerCertName=true -jar atlassian-bamboo-agent-installer-6.9.2.jar https://bamboo-company.com/agentServer/

 

Please confirm above comment if it is work or not ?

Charlie Misonne Community Leader Oct 14, 2019

Yes those are the parameters you need.

And if you are starting the bamboo agents with the wrapper script you have to add the parameters to <bamboo-agent-install>/conf.wrapper.conf

wrapper.java.additional.<NUM>= -Dhttp.proxyHost=196.11.101.10 -Dhttp.proxyPort=8080 -Dhttps.proxyHost=196.11.101.10 -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts=127.0.*.*\|localhost

Don't forget to apply the proxy settings to you Bamboo agents AND your Bamboo server. Bamboo server will also make connections to Bitbucket.

 

Do you have any issues with this setup?

Like poovaraj likes this

The below command is not working but alternative method is working fine. Please let me know why is it not working below command ?

Not worked:

java -Dhttp.proxyHost=196.11.101.10 -Dhttp.proxyPort=8080 -Dhttps.proxyHost=196.11.101.10 -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts=127.0.*.*\|localhost Dbamboo.agent.ignoreServerCertName=true -jar atlassian-bamboo-agent-installer-6.9.2.jar https://bamboo-company.com/agentServer/

 

Worked:

export https_proxy=196.11.101.10:8080

export http_proxy=196.11.101.10:8080

export no_proxy="'echo 127.0.{0..255}.{0..254},' 127.0.255.255"

java -Dbamboo.agent.ignoreServerCertName=true -jar atlassian-bamboo-agent-installer-6.9.2.jar https://bamboo-company.com/agentServer/

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

179 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you