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

Initiate Bamboo build from agent location


**Can someone please look at this request**

We have our Bamboo instance in the Azure cloud environment.  We have agents deployed on a couple of VMs in that environment. We connect to the VMs up in Azure through a VPN that we set up between our on-premise office and the Azure environment.

I have been asked to find out if we are able to set up this scenario:

  • Set up a new VM in our on-premise office and configure it with the Bamboo agent.
  • Get the Bamboo agent on the on-premise VM to constantly check for updates to any of the Git projects we have available.
  • If the agent detects a change, then it initiate the Bamboo build plan on the on-premise office.  

From what we understand, the Bamboo server initiate the communication with the Bamboo agent on the server that hosts the agent.  But because our VPN set up is a one-way connection, the Bamboo server in Azure can't initiate the build.  That's why we're hoping there is a way for the agent to communicate up to the Bamboo server in Azure when it detects a change in code and then initiate the build plan.  Please ask any questions that may help understand this question better.




1 answer

0 votes
Andy Heinzer Atlassian Team Oct 24, 2018

I believe I understand what you are wanting to do here.  However the Agent's in Bamboo do not have the ability to track changes.  The Agent can only build.  You still need the server to be the one to detect such changes.   

Remote Agents in Bamboo are not meant to be used as a means to get around this networking/vpn environment.  I'd recommend checking out the Difference between Local agents and Remote Agents
Instead remote agents are helpful either when the server doesn't have the capabilities needed, or the Server JVM resources are limited.

If I understand your request, you are looking for the Agent to handle the detection, then communicate that back to the server.  This just isn't something the Agent is designed to do.   I wish I could offer you some clear alternative here.  But given the parameters you have listed, I can't see a clear way to make it do what you want.

Hi Andrew,

Thanks for your reply!  That's what I thought, I didn't think there was an option for our situation since it's unique.  No matter what, ports would have to be open between the cloud and on-premise environment right?  In both directions right?  Which would defeat the purpose of trying to have it just one way.  If there are no options for our situation, then that's what I'll have to report my the team that wants this done.


Andy Heinzer Atlassian Team Oct 25, 2018

Yes, the connection between agent and bamboo needs to be bi-directional.  Check out Troubleshooting Remote Agents for more details in regards to ports and protocols being used by remote agents.

Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

660 views 3 8
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