Updated azure-pipelines.yml
This commit is contained in:
@@ -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'
|
|
||||||
Reference in New Issue
Block a user