I've created a Testacular config file that I can use locally to output JUnit like test results. Now I want to integrate that in a plan in Bamboo.
I'm seeing the error: No agents meet the Job's requirements. This Job cannot be built in the Elastic Cloud.
I've created a custom image that can run Testacular and I'm now trying to connect it to to Bamboo, but so far I haven't been lucky.
The problem is that the bamboo agent scripts work only on an Amazon Linux node, wereas installing Node on such a system is a drag. I've found http://wkmacura.tumblr.com/post/5511638182/ubuntu-bamboo-ec2-ami, which promises it can't be done, but the changes in the scripts there are unfortunately not visible.
Atlassian is not trying to support this, so I'm hoping to find someone that has done this before so I don't have to rewrite all the agent scripts myself.
I've almost solved this now by extending the existing Atlassian AMI. To do this you need to make sure it stays on long anough so that you can work on it. This you can do by commenting out the auto-shutdown from /opt/bamboo-elastic-agent/etc/rc.local. Do this first, then create a snapshot and start that outside of Bamboo for customization.
Now I'm still running into trouble with the bamboo agent that seems rather unstable, but since I didn't touch that part it should sort itself out eventually.
I've put up the exact steps in my blog: Running Jasmine tests with Testacular and Bamboo OnDemand.
Hey team! I'm Cameron Deatsch, Head of Server at Atlassian. At our European Summit just a few weeks ago, I spoke about the latest regarding our Server and Data center products and o...
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!
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