Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Initiate Bamboo build from agent location Edited

**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.

 

Thanks,

-Christian

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.

Thanks!
Christian

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
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

186 views 4 6
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