How can I do C# unit tests using Bamboo cloud?

My company is looking to switch to JIRA and Bamboo. The first solution they wanted me to look at is the cloud variant using Bamboo Elastic. After some experimenting I have managed to get solutions to build. The next step is unit testing. So far we have been using the MSTest Runner. I however cannot for the life of me get this to run on the elastic instances. Can someone give me a step by step of what I need to do to start this?

1 answer

0 votes

Hi Kim,

Atlassian provides a number of stock images that you can use with your elastic agents, and one of these is a Windows image with MSBuild (but not Visual Studio) installed, so it may be suitable for your purposes.

If you can't use the stock image, you'll need to build your own AMI and install the Bamboo remote agent software on it.

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,
Felipe Kraemer

As I already mentioned in the first post., building is not the problem. MSBuild works as intended though it took some tweaking. The problem is in the unit tests. As mentioned this requires MSTest. I have thus far managed to get the AWS to run an MSTest instance but so far it will not run the actual tests. This is the part that I need help with.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Dec 06, 2018 in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,604 views 22 17
View question

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