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