mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
limit builds for develop branch
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user