From bc7b6c7854c8b96e27a6d0e3fa78be5255a799c9 Mon Sep 17 00:00:00 2001 From: see-quick Date: Wed, 8 Jan 2025 11:21:54 +0100 Subject: [PATCH] back to Signed-off-by: see-quick --- .azure/build-pipeline.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.azure/build-pipeline.yaml b/.azure/build-pipeline.yaml index 6d8b0f0..de8a557 100644 --- a/.azure/build-pipeline.yaml +++ b/.azure/build-pipeline.yaml @@ -33,11 +33,14 @@ jobs: vmImage: 'Ubuntu-22.04' # Pipeline steps steps: -# - task: Cache@2 -# inputs: -# key: 'maven-cache_v2' -# path: $(HOME)/.m2/repository -# displayName: Maven cache + - task: Cache@2 + inputs: + key: 'maven-cache | $(System.JobName) | **/pom.xml' + restoreKeys: | + maven-cache | $(System.JobName) + maven-cache + path: $(HOME)/.m2/repository + displayName: Maven cache - template: 'templates/steps/setup_docker.yaml' - template: 'templates/steps/setup_java.yaml' parameters: