diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..ea6bcf8eb --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,31 @@ + + +# Build your Java project and run tests with Apache Maven. +# Add steps that analyze code, save build artifacts, deploy, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/java + +trigger: +- main + +pool: + vmImage: ubuntu-latest + +steps: +- task: Maven@4 + inputs: + mavenPomFile: 'pom.xml' + mavenOptions: '-Xmx3072m' + javaHomeOption: 'JDKVersion' + jdkVersionOption: '1.8' + jdkArchitectureOption: 'x64' + publishJUnitResults: true + testResultsFiles: '**/surefire-reports/TEST-*.xml' + goals: 'package' + codeCoverageToolOption: 'Cobertura' + codeCoverageFailIfEmpty: true + codeCoverageRestoreOriginalPomXml: true + mavenVersionOption: 'Default' + mavenAuthenticateFeed: false + effectivePomSkip: false + sonarQubeRunAnalysis: true + sqMavenPluginVersionChoice: 'latest'