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

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
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

1,320 views 2 7
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