New answers tagged

0

I made it work like this: variables: MAVEN_CACHE_FOLDER: $(HOME)/.m2/repository MAVEN_OPTS: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)' trigger: - master pool: vmImage: 'ubuntu-latest' steps: - task: Cache@2 displayName: 'Cache Maven local repo' inputs: key: '"funcs" | maven | "$(Agent.OS)" | pom.xml' ...


Top 50 recent answers are included