ekolis
ekolis

Reputation: 6814

Using Azure DevOps connected to github, how do I set up an automated build that happens whenever changes are made to the master branch?

I'm thoroughly confused as to how ADO pipelines work - all I want to do is generate a build which is publicly accessible whenever a changeset or pull request is applied to the master branch in github. Can someone please walk me through the process of setting up this pipeline? I feel like it's got to be really simple but it just doesn't make any sense to me...

Upvotes: 0

Views: 48

Answers (3)

Hugh Lin
Hugh Lin

Reputation: 19491

You can also do this with yaml:

1.new a build pipeline --> choose GitHub(YAML) --> Select a repository --> Complete configuration

enter image description here

2.Use the below syntax in yaml file

trigger:
  branches:
    include:
      - master

For the details ,please refer to this docs.

Upvotes: 0

Bevan
Bevan

Reputation: 1424

The UI in this link is a bit outdated but the actual steps are the same. You can probably skip to "Exercise 2: Configure Build" if your connection to Git is already set up. https://azuredevopslabs.com/labs/vstsextend/github/

Then make sure your trigger is configured correctly Build Trigger

Upvotes: 1

mydiemho
mydiemho

Reputation: 1

Are you trying to do this through UI or yaml? Have you walk through this guide?

Upvotes: 0

Related Questions