From 16dcc464cf3f60588da0d092f1f37c53ad64c817 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Fri, 19 Oct 2018 23:56:40 +1100 Subject: [PATCH] chore: make macOS release builds higher priority to skip the queue (#15276) Release builds should be run before branch builds on our limited macOS infra. Refs: https://docs.microsoft.com/en-us/rest/api/vsts/build/builds/queue?view=vsts-rest-4.1#queuepriority --- script/ci-release-build.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/ci-release-build.js b/script/ci-release-build.js index 1cb7400970b4..e2cee5fb63c6 100644 --- a/script/ci-release-build.js +++ b/script/ci-release-build.js @@ -177,7 +177,8 @@ async function buildVSTS (targetBranch, options) { async function callVSTSBuild (build, targetBranch, environmentVariables) { const buildBody = { definition: build, - sourceBranch: targetBranch + sourceBranch: targetBranch, + priority: 'high' } if (Object.keys(environmentVariables).length !== 0) { buildBody.parameters = JSON.stringify(environmentVariables)