Best remote agent architecture for integrating Java and .Net application in CI

As per my requirement, I need to integrate Bitbucket repository with Bamboo CI server hosted on linux machine as per following:

  1. .Net application on Bitbucket
  2. Java test application on BitBucket.
  3. When there is a commit on .Net application repository, Bamboo should trigger MSBuild to build the repository on AWS windows server.
  4. After that, Bamboo should trigger Maven test of Java repository to test the .Net application.

As I have mentioned, Bamboo server is hosted on linux machine, so I can only trigger Java Maven build from local agent as MSBuild.exe is not available on linux machine. So as per my thinking I need to create Remote agent on another Windows machine [hosted on AWS] to trigger the MSBuild.

Please confirm this approach and provide best practice suggestion for this requirement.

1 answer

0 votes

Your approach is right. You can just have the build run on remote Windows server. Everything else is business as usual. Just you the right tasks in the right order wink

Hi Jobin, Thanks for the answer. I work with Chintan on this. Would it also be a good idea to send commands to remote windows machine from the existing linux server and avoid creation of a remote agent? Would that be helpful?

We were thinking of sending the remote commands using freeSSHD and powershell. Is that a good idea too?

I wouldn't do that unless you don't want spend money on a remote agent. Never tried it and so I am not sure how robust that solution would be.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Canada

Happy New Year - First AUG of the year - great success

Hi Everyone, Hope everyone had a great holiday season and is ready for an exciting 2019.  We had our first AUG last night featuring Tempo Timesheets.  A great presentation and lots of int...

17 views 0 1
View post

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