Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSTS building all branches

I'm moving CI setup from TeamCity to Visual Studio Team Services (was VS Online) switching to the built in Team Services Git. It all seems good but in TC I was able to set it up to automatically build all branches on check-in. This gave lots of benefits and significantly streamlined my process.

Team Services seems to insist that I have a branch filter, does anyone know how I can make turn this into a "build all branches" situation (or why I shouldn't build all check-ins on all branches!)

like image 868
Stu Avatar asked Aug 22 '16 11:08

Stu


People also ask

How do I see all Azure DevOps branches?

From your web browser, open the team project for your Azure DevOps organization. In the Repos > Branches view, select the ellipsis for any branch and choose Compare branches to open the Branch compare view.

How do I define different pipelines for different branches?

To create different pipelines for different branches. You need to rename the azure-pipelines. yml file in virt/master branch or create a new yml file with the some contents and with a different name. And create pipeline multi-branch(virt) from this new yml file.


1 Answers

Oops, sorry I figured it out. Basically, the drop down box to select the branch has a search function into which you can type anything. If you hit return twice it will take this as the filter. If you pass in "*" it will work.

Branch specification in build triggers

UPDATE

You only have to type in a * and it'll allow it with one enter. It's still on the Triggers tab.

like image 101
Stu Avatar answered Oct 13 '22 20:10

Stu