How to get Bamboo agent to Bamboo server/broker communication happen over https only

I am wondering how to setup a Bamboo server (version 5.9.0) that allows broker communication (i.e. JMS payload) over https.

We have Bamboo server located at one of our company locations. Lets call this locationA. We like to run Bamboo agent from a different location. Lets call this locationB. The only ports allowed from locationB to locationA are http and https. The default broker port 54663 is not open at firewall. I am looking for ways to make this work. One idea is to tunnel agent to broker communication happen over https.

I see that Bamboo uses ActiveMQ framework for JMS. ActiveMQ seem to support tcp, ssl as well as https (among others). I don't see any examples how to configure a Bamboo broker to use https transport.

 

I appreciate any pointers.

 

Thanks

 

1 answer

My guess would be you would modify your bamboo master to use https in your BAMBOO_HOME/bamboo.cfg.xml file..

 

<property name="bamboo.jms.broker.client.uri">failover:(tcp://server.domain.com:54663?wireFormat.maxInactivityDurat
ion=300000)?initialReconnectDelay=15000&amp;maxReconnectAttempts=10</property>
<property name="bamboo.jms.broker.uri">tcp://0.0.0.0:54663?wireFormat.maxInactivityDuration=300000</property>

 

For the agent, based on the bamboo.cfg.xml, i would assume you might be able to pass 'bamboo.jms.broker.client.url' as another java.additional in the wrapper.conf 

 

or you might be able to set it in the AGENT_HOME/bamboo-agent.cfg.xml, but i can't really find any documentation on it..

Dana The example you provided is the default configuration. It is for tcp port. What I am interested is a HOW-TO article how you can setup Bamboo server where you let agents communicate to it over 54663 (i.e. tcp port) as well as https for jms payload.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,445 views 0 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you