Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core
This commit is contained in:
commit
042e936287
|
@ -42,7 +42,7 @@ import org.hl7.fhir.utilities.Utilities;
|
|||
|
||||
public class HTMLClientLogger extends BaseLogger implements ToolingClientLogger {
|
||||
|
||||
private static final boolean DEBUG = true;
|
||||
private static final boolean DEBUG = false;
|
||||
|
||||
private boolean req = false;
|
||||
private PrintStream file;
|
||||
|
|
|
@ -0,0 +1,53 @@
|
|||
jobs:
|
||||
- ${{ each imageName in parameters.imageName }}:
|
||||
- ${{ each jdkVersion in parameters.jdkVersion }}:
|
||||
- job:
|
||||
|
||||
displayName: ${{imageName}}_${{jdkVersion}}
|
||||
|
||||
pool:
|
||||
vmImage: ${{imageName}}
|
||||
|
||||
variables:
|
||||
currentImage: ${{imageName}}
|
||||
codecov: $(CODECOV_TOKEN)
|
||||
VERSION:
|
||||
|
||||
steps:
|
||||
# Runs 'mvn clean package'
|
||||
- task: Maven@3
|
||||
inputs:
|
||||
mavenPomFile: 'pom.xml'
|
||||
mavenOptions: '-Xmx3072m'
|
||||
javaHomeOption: 'JDKVersion'
|
||||
jdkVersionOption: '${{jdkVersion}}'
|
||||
jdkArchitectureOption: 'x64'
|
||||
publishJUnitResults: true
|
||||
testResultsFiles: '**/surefire-reports/TEST-*.xml'
|
||||
goals: 'package'
|
||||
|
||||
- task: Maven@3
|
||||
inputs:
|
||||
mavenPomFile: 'pom.xml'
|
||||
mavenOptions: '-Xmx3072m'
|
||||
javaHomeOption: 'JDKVersion'
|
||||
jdkVersionOption: '${{jdkVersion}}'
|
||||
jdkArchitectureOption: 'x64'
|
||||
options: '-pl org.hl7.fhir.validation.cli'
|
||||
publishJUnitResults: false
|
||||
testResultsFiles: '**/surefire-reports/TEST-*.xml'
|
||||
goals: 'exec:exec'
|
||||
|
||||
# Upload test results to codecov
|
||||
- script: bash <(curl https://codecov.io/bash) -t $(codecov)
|
||||
displayName: 'codecov Bash Uploader'
|
||||
condition: eq(variables.currentImage, 'ubuntu-latest')
|
||||
|
||||
# Publishes the test results to build artifacts.
|
||||
- task: PublishCodeCoverageResults@1
|
||||
displayName: 'Publish JaCoCo test results'
|
||||
condition: eq(variables.currentImage, 'ubuntu-latest')
|
||||
inputs:
|
||||
codeCoverageTool: 'JaCoCo'
|
||||
summaryFileLocation: '$(System.DefaultWorkingDirectory)/org.hl7.fhir.report/target/site/jacoco-aggregate/jacoco.xml'
|
||||
reportDirectory: '$(System.DefaultWorkingDirectory)/org.hl7.fhir.report/target/site/jacoco-aggregate/'
|
|
@ -0,0 +1,11 @@
|
|||
trigger: none
|
||||
|
||||
pr:
|
||||
- master
|
||||
- release
|
||||
|
||||
jobs:
|
||||
- template: pull-request-pipeline-parameterized.yml
|
||||
parameters:
|
||||
imageName: [ 'ubuntu-latest', 'macos-latest', 'windows-2019' ]
|
||||
jdkVersion: [ '1.8', '1.11', '1.17']
|
Loading…
Reference in New Issue