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
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

4,296 views 20 12
View question

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