Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Commit

Permalink
Make master branch the default in the azure pipelines (#679)
Browse files Browse the repository at this point in the history
  • Loading branch information
leoapost committed Jul 22, 2020
1 parent 735ff2f commit 4bf06a6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions azure-pipelines.yml
Expand Up @@ -9,23 +9,23 @@ trigger:
batch: true
branches:
include:
- develop
- master
tags:
include:
- v*


pr:
autoCancel: true
branches:
include:
- develop
- master
- feature/*

variables:
application.name: 'tt-data-capture'
azure.subscription.endpoint: 'hmcts-pet'
manual.branch.prefix: 'develop'
manual.branch.prefix: 'master'

resources:
containers:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
- job: BuildAndPushImageCI

dependsOn: TestApplication
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/develop'), not(startsWith(variables['Build.SourceBranch'], 'refs/tags/')), ne(variables['Build.Reason'], 'Manual'))
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'), not(startsWith(variables['Build.SourceBranch'], 'refs/tags/')), ne(variables['Build.Reason'], 'Manual'))
pool:
name: hmcts-pet

Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:


- job: BuildAndPushImageManual

dependsOn: TestApplication
condition: and(succeeded(), eq(variables['Build.Reason'], 'Manual'))
pool:
Expand Down

0 comments on commit 4bf06a6

Please sign in to comment.