Always build closed Pull Requests

sidorlutiy's Avatar

sidorlutiy

08 Jan, 2018 02:46 PM

Can you explain how "Always build closed Pull Requests" option works?
I thought it will allow me to build master branch after pull request has been merged, but it doesn't work in this way. So I have to use "push" trigger on GitHub and "build only master branch" option on AppVeyor.
So the question is what is "Always build closed Pull Requests" for?

  1. Support Staff 1 Posted by Ilya Finkelshte... on 08 Jan, 2018 07:33 PM

    Ilya Finkelshteyn's Avatar

    Pull request (PR) build is build of "virtual merge" of changes made in head branch as if they merged into base branch (usually master). PR build answer the question "what if I merge those changes into master branch". If PR is closed, this usually means that answer to this question is not important anymore. So when AppVeyor notified that PR is closed (via webhook), AppVeyor cancels all running or queued builds for that PR. If you need PR builds to finish even when PR is closed, you use that setting.

  2. 2 Posted by sidorlutiy on 09 Jan, 2018 05:42 AM

    sidorlutiy's Avatar

    Thank you for your explanation, it's much clearer now.

  3. sidorlutiy closed this discussion on 09 Jan, 2018 05:42 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac