From b281f7c25be96758b4c26866c73394820df26c60 Mon Sep 17 00:00:00 2001 From: Nico Hanus Date: Thu, 28 Apr 2022 13:59:47 +0000 Subject: [PATCH] limit builds for develop branch --- azure-pipelines.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2d863b538..b0d76b8d9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -100,9 +100,15 @@ jobs: displayName: ISAClient CI Debug pool: name: 'Default' - demands: - - Agent.OS -equals Linux - - docker + ${{ if eq(variables['Build.SourceBranchName'], 'develop') }}: + demands: + - Agent.Name -equals parfsebuild02_linux_3 + - Agent.OS -equals Linux + - docker + ${{ else }}: + demands: + - Agent.OS -equals Linux + - docker # condition: eq(variables['Build.SourceBranch'], 'refs/heads/develop') condition: and(ne(variables['Build.SourceBranch'], 'refs/heads/integration'), ne(variables['Build.SourceBranch'], 'refs/heads/master'), not(startsWith(variables['Build.SourceBranch'], 'refs/heads/hotfix/')), not(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))) steps: