Prioritize master branch commits

Gabriel Handford's Avatar

Gabriel Handford

May 20, 2016 @ 11:21 PM

Is there any way to prioritize in the queue CI builds that happen in master. For example, if there is a commit to master, the CI build is put at the top of the queue instead of the end.

Thanks!

  1. Support Staff 1 Posted by Feodor Fitsner on May 22, 2016 @ 02:08 AM

    Feodor Fitsner's Avatar

    Yes, we recently introduced APPVEYOR_BUILD_PRIORITY environment variables that can be used to prioritize builds (it doesn't work for PR builds of course).

    So, you can combine it with conditional configuration, something like:

    -
      branches:
        only:
          - master
    
      environment:
        # lower the number - higher the priority
        APPVEYOR_BUILD_PRIORITY: 1
        ...
    -
      branches:
        except:
          - master
        ...
    
  2. Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 02:06 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