Updated azure-pipelines.yml

This commit is contained in:
Andrea Terzani
2024-10-18 07:38:03 +00:00
parent f867f8adc9
commit 8aaef03648

View File

@@ -10,14 +10,19 @@ pool:
vmImage: ubuntu-latest
steps:
- task: DownloadSecureFile@1
name: mvnSettings
displayName: 'Download Maven settings'
inputs:
secureFile: 'maven-azuredevops-settings.xml'
- task: Maven@3
inputs:
mavenPomFile: 'pom.xml'
mavenOptions: '-Xmx3072m'
goals: 'deploy'
options: '-s $(mvnSettings.secureFilePath)'
mavenAuthenticateFeed: true
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.21'
mavenAuthenticateFeed: true
jdkArchitectureOption: 'x64'
publishJUnitResults: true
testResultsFiles: '**/surefire-reports/TEST-*.xml'
goals: 'package'
mavenVersionOption: 'Default'