forked from hapifhir/org.hl7.fhir.core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest-cli-exec-job-template.yml
31 lines (28 loc) · 1023 Bytes
/
test-cli-exec-job-template.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
jobs:
- ${{ each unit in parameters.testUnits }}:
- job:
dependsOn: [ 'setup' ]
displayName: Test validator-cli.jar execution on ${{unit.name}}
pool:
vmImage: ${{unit.vmImage}}
steps:
- task: Cache@2
displayName: Cache maven artifacts
inputs:
key: maven | $(Build.BuildId) | artifacts
path: $(MAVEN_CACHE_FOLDER)
- template: cache-target-tasks-template.yml
parameters:
modules:
- org.hl7.fhir.validation.cli
# Runs 'mvn exec'
- task: Maven@3
inputs:
mavenPomFile: 'pom.xml'
mavenOptions: '-Xmx768m -Dmaven.resolver.transport=wagon'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '${{unit.jdkVersion}}'
jdkArchitectureOption: 'x64'
options: '-pl org.hl7.fhir.validation.cli -Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
publishJUnitResults: false
goals: 'exec:exec'