diff --git a/test-job-template.yml b/test-job-template.yml index 52790b11e87..0d2ca2ea516 100644 --- a/test-job-template.yml +++ b/test-job-template.yml @@ -13,7 +13,7 @@ jobs: steps: - task: Cache@2 inputs: - key: 'maven | "$(Agent.OS)" | ./pom.xml' + key: 'maven | "$(Agent.OS)" | "$(Build.SourceVersion)" | ./pom.xml' path: $(MAVEN_CACHE_FOLDER) - task: Bash@3 inputs: @@ -46,7 +46,7 @@ jobs: releaseType: stable - task: Cache@2 inputs: - key: 'maven | "$(Agent.OS)" | ./pom.xml' + key: 'maven | "$(Agent.OS)" | "$(Build.SourceVersion)" | ./pom.xml' path: $(MAVEN_CACHE_FOLDER) # - task: Maven@3 # env: