org.hl7.fhir.core/master-branch-parallel-pipe...

35 lines
962 B
YAML
Raw Normal View History

trigger: none
pool:
vmImage: ubuntu-latest
jobs:
- job: setup
displayName: cache-maven-dependencies
pool:
vmImage: ubuntu-latest
steps:
- checkout: self
fetchDepth: 1
- task: Cache@2
inputs:
key: maven | $(Build.BuildId) | artifacts
path: $(MAVEN_CACHE_FOLDER)
2023-03-31 17:01:54 -04:00
- template: cache-target-directory-task.yml
parameters:
2023-03-31 17:20:06 -04:00
targetModule: org.hl7.fhir.convertors
- task: Bash@3
inputs:
targetType: 'inline'
script: mkdir -p $(MAVEN_CACHE_FOLDER); pwd; ls -al $(MAVEN_CACHE_FOLDER)
- task: Maven@3
inputs:
mavenPomFile: 'pom.xml'
options: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER) -DskipTests'
mavenOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.11'
jdkArchitectureOption: 'x64'
publishJUnitResults: false
goals: 'install'