forked from MicrosoftDocs/pipelines-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
34 lines (29 loc) · 994 Bytes
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This is my (Maven) pipeline.
# It is used to build my Java project and run tests with Apache Maven.
# There are many like it, but this one is mine.
# My pipeline is my best friend. It is my life.
# I must master it as I must master my life.
# Without me, my pipeline is useless.
# Without my pipeline, I am useless.
# Soon, I will 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:
- script: echo $(myhello) # uses macro syntax
- script: echo $(environnement)
- task: Maven@3
inputs:
mavenPomFile: 'pom.xml'
publishJUnitResults: true
testResultsFiles: '**/surefire-reports/VADER-*.xml'
testRunTitle: 'Alderaan'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.17'
mavenVersionOption: 'Default'
mavenOptions: '-Xmx3072m'
mavenAuthenticateFeed: false
effectivePomSkip: false
sonarQubeRunAnalysis: false