Skip to content

Instantly share code, notes, and snippets.

@emoran
Created September 19, 2020 12:19
Show Gist options
  • Save emoran/205c5ea094b18c8780ea60d43f930174 to your computer and use it in GitHub Desktop.
Save emoran/205c5ea094b18c8780ea60d43f930174 to your computer and use it in GitHub Desktop.
# 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:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- task: Maven@3
inputs:
mavenPomFile: 'pom.xml'
mavenOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
publishJUnitResults: true
testResultsFiles: '**/surefire-reports/TEST-*.xml'
goals: 'package'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment