Prioritize master branch commits

Gabriel Handford's Avatar

Gabriel Handford

20 May, 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 22 May, 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 25 Aug, 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

 

16 Jul, 2019 04:51 AM
15 Jul, 2019 06:33 PM
15 Jul, 2019 06:09 PM
15 Jul, 2019 05:53 PM
15 Jul, 2019 05:46 PM
15 Jul, 2019 05:21 PM