diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 1275dd64e..5f1f0dd19 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -21,7 +21,9 @@ resources: type: github name: hmcts/cpp-azure-devops-templates endpoint: 'hmcts' - ref: 'main' + # EDO-965 (TEMPORARY): point at the feature branch so the PR build uses the template's + # enableMavenCache change. REVERT to 'main' once the template change is merged. + ref: 'feature/sv-edo-965-improve-mvn-perf' pool: name: "MDV-ADO-AGENT-AKS-01" @@ -41,6 +43,8 @@ stages: parameters: sonarqube_project: ${{ variables['sonarqubeProject'] }} sonarQubeType: 'sonarQubeAKS' + # EDO-965: opt in to Maven .m2 caching to measure the build-time gain (hearing only). + enableMavenCache: true - ${{ if eq(variables['Build.Reason'], 'IndividualCI') }}: - template: pipelines/context-validation.yaml@cppAzureDevOpsTemplates