Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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

Atlassian Community Events