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
Community Members
Community Events
Community Groups

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

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= -Dhttp.proxyPort=8080 -Dhttps.proxyHost= -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts=127.0.*.*\|localhost Dbamboo.agent.ignoreServerCertName=true -jar atlassian-bamboo-agent-installer-6.9.2.jar


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<NUM>= -Dhttp.proxyHost= -Dhttp.proxyPort=8080 -Dhttps.proxyHost= -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= -Dhttp.proxyPort=8080 -Dhttps.proxyHost= -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts=127.0.*.*\|localhost Dbamboo.agent.ignoreServerCertName=true -jar atlassian-bamboo-agent-installer-6.9.2.jar



export https_proxy=

export http_proxy=

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

java -Dbamboo.agent.ignoreServerCertName=true -jar atlassian-bamboo-agent-installer-6.9.2.jar

0 votes
jira guy Rising Star Oct 07, 2019

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

Suggest an answer

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

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

311 views 0 7
Read article

Atlassian Community Events