24 lines
565 B
YAML
24 lines
565 B
YAML
|
# Maven
|
||
|
# 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@3
|
||
|
inputs:
|
||
|
mavenPomFile: 'pom.xml'
|
||
|
publishJUnitResults: false
|
||
|
javaHomeOption: 'JDKVersion'
|
||
|
jdkVersionOption: '1.8'
|
||
|
mavenVersionOption: 'Default'
|
||
|
mavenOptions: '-Xmx3072m'
|
||
|
mavenAuthenticateFeed: false
|
||
|
effectivePomSkip: false
|
||
|
sonarQubeRunAnalysis: false
|