mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-06 19:39:27 +00:00
Use dependency resolution from pull pipeline
***NO_CI***
This commit is contained in:
parent
19bcaa4ee6
commit
d2cade4244
@ -8,14 +8,29 @@ trigger: none
|
|||||||
pool:
|
pool:
|
||||||
vmImage: ubuntu-latest
|
vmImage: ubuntu-latest
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
- job: setup
|
||||||
|
displayName: cache-maven-dependencies
|
||||||
|
pool:
|
||||||
|
vmImage: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- checkout: self
|
||||||
|
fetchDepth: 1
|
||||||
|
- task: Cache@2
|
||||||
|
inputs:
|
||||||
|
key: maven | $(Build.BuildId)
|
||||||
|
path: $(MAVEN_CACHE_FOLDER)
|
||||||
|
- task: Bash@3
|
||||||
|
inputs:
|
||||||
|
targetType: 'inline'
|
||||||
|
script: mkdir -p $(MAVEN_CACHE_FOLDER); pwd; ls -al $(MAVEN_CACHE_FOLDER)
|
||||||
- task: Maven@3
|
- task: Maven@3
|
||||||
inputs:
|
inputs:
|
||||||
mavenPomFile: 'pom.xml'
|
mavenPomFile: 'pom.xml'
|
||||||
|
options: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
|
||||||
mavenOptions: '-Xmx3072m'
|
mavenOptions: '-Xmx3072m'
|
||||||
javaHomeOption: 'JDKVersion'
|
javaHomeOption: 'JDKVersion'
|
||||||
jdkVersionOption: '1.8'
|
jdkVersionOption: '1.11'
|
||||||
jdkArchitectureOption: 'x64'
|
jdkArchitectureOption: 'x64'
|
||||||
publishJUnitResults: true
|
publishJUnitResults: false
|
||||||
testResultsFiles: '**/surefire-reports/TEST-*.xml'
|
goals: 'dependency:resolve'
|
||||||
goals: 'package'
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user