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

 

13 Sep, 2023 06:05 AM
10 Sep, 2023 03:43 PM
09 Sep, 2023 05:53 PM
08 Sep, 2023 07:10 PM
31 Aug, 2023 07:59 PM
13 Aug, 2023 04:55 AM