Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Bamboo skipping certain Visual Studio projects

Edited

Hi everyone,

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:

  • Permissions. The user that Bamboo runs under has sufficient permissions over the working folders in Bamboo.
  • Building the solution in the working directory outside of Bamboo - both via the GUI and command line, both as the non-administrative Bamboo user and as an administrator. It builds fine in all these cases.
  • Upgrading Bamboo to the latest version. Nothing changed.
  • Upgrading Visual Studio 2017 that we initially used to the latest version. Nothing changed.
  • Installing and using Visual Studio 2019 instead. Nothing changed.
  • Deleting the .vs folder in our solution. Projects are still being skipped. In fact, we even included this action as a script within our build plan, to no effect on project skipping.
  • Deleting and re-initializing Visual Studio's user data.

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 :) 

1 answer

1 accepted

1 vote
Answer accepted

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.

Capture.PNG

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events