forked from microsoft/Partner-Center-Java-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
66 lines (57 loc) · 2.07 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
strategy:
matrix:
Linux:
imageName: 'ubuntu-latest'
macOS:
imageName: 'macOS-latest'
Windows:
imageName: 'windows-latest'
trigger:
- master
pool:
vmImage: $(imageName)
variables:
LoggingOptions: '-Dorg.slf4j.simpleLogger.defaultLogLevel=error -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
steps:
- task: Maven@3
displayName: 'Build SDK samples'
inputs:
mavenPomFile: 'sdk/pom.xml'
goals: 'package'
options: '-DpackageOutputDirectory=$(Build.ArtifactStagingDirectory)" -am'
mavenOptions: '$(LoggingOptions)'
publishJUnitResults: true
testResultsFiles: '**/surefire-reports/TEST-*.xml'
findBugsRunAnalysis: true
- task: Maven@3
displayName: 'Build secure application model CPV sample'
inputs:
mavenPomFile: 'secure-app-model/keyvault/cpvsample/pom.xml'
goals: 'package'
options: '-DpackageOutputDirectory=$(Build.ArtifactStagingDirectory)" -am'
mavenOptions: '$(LoggingOptions)'
publishJUnitResults: true
testResultsFiles: '**/surefire-reports/TEST-*.xml'
findBugsRunAnalysis: true
- task: Maven@3
displayName: 'Build secure application model CSP sample'
inputs:
mavenPomFile: 'secure-app-model/keyvault/cspsample/pom.xml'
goals: 'package'
options: '-DpackageOutputDirectory=$(Build.ArtifactStagingDirectory)" -am'
mavenOptions: '$(LoggingOptions)'
publishJUnitResults: true
testResultsFiles: '**/surefire-reports/TEST-*.xml'
findBugsRunAnalysis: true
- task: Maven@3
displayName: 'Build secure application model partner consent sample'
inputs:
mavenPomFile: 'secure-app-model/keyvault/partnerconsent/pom.xml'
goals: 'package'
options: '-DpackageOutputDirectory=$(Build.ArtifactStagingDirectory)" -am'
mavenOptions: '$(LoggingOptions)'
publishJUnitResults: true
testResultsFiles: '**/surefire-reports/TEST-*.xml'
findBugsRunAnalysis: true
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: 'Component Detection'