We're using a Bamboo instance on Windows Server with 1 agent, installed on the same server, to build (using Visual Studio) and deploy our ASP.NET MVC solution to our staging environment whenever a commit is performed to our repository. It has been working great for a while, but recently we noticed an increase in build failures due to an inability to generate certain artifacts.
That turned out to be because, when run within Bamboo, Visual Studio seems to be skipping building certain projects.
Interestingly enough, when building normally via the command line, all the projects build fine and nothing is skipped.
We've tried writing a batch script, the same one we used to test command line building, and the result is the same - certain projects are being skipped when that script is being run within Bamboo.
So far we have tried/checked:
Any suggestions would be greatly appreciated as we've tried lots of things to no avail. I'm already starting to lose my hair over the issue :)
I was able to resolve the issue... Turned out that the project settings were to blame.
Un-checking this box in the project settings > Web got Bamboo building the missing projects again. Having these in the project file seemed to prevent the project from loading in some cases.
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 ...
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