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

Building only selected projects in Visual Studio solution

Ahmet Sertan Yıldırım March 22, 2018

We have a huge Visual Studio (2017) solution under one git repository and mutiple teams have their projects in it.

Let's say Team A has an ASP.NET Web Portal project - > Project 1

And Team B has a REST API project -> Project 2

These two teams would like to do CI on their own projects.

  • Visual Studio Solution
    • Project1
    • Project2
    • .
    • Project N

So, when configuring a build plan, can we specify bamboo just to build Project 2 and dependencies but do not build and deploy anything belongs to Project1?

Because the main issue is ( actually very rare) sometimes someone commits code which is not buildable and belongs to another team's project. But since bamboo tries to build entire solution, it also affects other teams CI.

Also will appreciate if you could refer related resources docos for this.

Thanks,

 

1 answer

1 vote
Omar Herrera
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 23, 2018

Hi @Ahmet Sertan Yıldırım please try with bamboo inject variables.

You can edit some file in your code, with the name of the project to build and inject into bamboo and make the build based in this injected variable.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events