Skip to content

Instantly share code, notes, and snippets.

@goyalmohit
Created August 14, 2019 02:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goyalmohit/3bb94f2568ec903b07012b0130036381 to your computer and use it in GitHub Desktop.
Save goyalmohit/3bb94f2568ec903b07012b0130036381 to your computer and use it in GitHub Desktop.
Defining maven task for build stage in azure pipelines
..
- task: Maven@3
inputs:
mavenPomFile: 'pom.xml'
goals: 'clean package'
publishJUnitResults: true
testResultsFiles: '**/surefire-reports/TEST-*.xml'
javaHomeOption: 'JDKVersion'
mavenVersionOption: 'Default'
mavenAuthenticateFeed: false
effectivePomSkip: false
sonarQubeRunAnalysis: false
..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment