-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
106 lines (100 loc) · 3.43 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# EasyPass Pipeline
trigger:
branches:
include:
- '*'
exclude:
- 'client-backend-experimental'
pool:
vmImage: 'ubuntu-latest'
jobs:
- job: Test_WebService
displayName: "Test_WebService"
steps:
- template: _azure-pipelines/rust.yml
parameters:
toolchain: nightly
- template: _azure-pipelines/geckodriver.yml
- template: _azure-pipelines/wasm-pack.yml
- task: Gradle@2
inputs:
gradleWrapperFile: '$(Build.SourcesDirectory)/WebService/gradlew'
workingDirectory: '$(Build.SourcesDirectory)/WebService'
tasks: 'wasmBuild'
publishJUnitResults: false
javaHomeOption: 'JDKVersion'
sonarQubeRunAnalysis: false
displayName: 'Building WebAssembly'
- script: |
cd $(Build.SourcesDirectory)/WebService/src/main/rust
wasm-pack test --headless --firefox
displayName: 'Testing WebAssembly'
- task: Gradle@2
inputs:
gradleWrapperFile: '$(Build.SourcesDirectory)/WebService/gradlew'
workingDirectory: '$(Build.SourcesDirectory)/WebService'
tasks: 'build appInstall appBuild appCopy'
publishJUnitResults: false
javaHomeOption: 'JDKVersion'
sonarQubeRunAnalysis: false
displayName: Building Spring with React
- task: Gradle@2
inputs:
gradleWrapperFile: '$(Build.SourcesDirectory)/WebService/gradlew'
workingDirectory: '$(Build.SourcesDirectory)/WebService'
tasks: 'appTest'
publishJUnitResults: false
javaHomeOption: 'JDKVersion'
sonarQubeRunAnalysis: false
displayName: Testing React
- task: Gradle@2
inputs:
gradleWrapperFile: '$(Build.SourcesDirectory)/WebService/gradlew'
workingDirectory: '$(Build.SourcesDirectory)/WebService'
tasks: 'test'
publishJUnitResults: false
javaHomeOption: 'JDKVersion'
sonarQubeRunAnalysis: false
displayName: Testing Spring
- job: Test_AuthService
displayName: "Test_AuthService"
steps:
- task: Gradle@2
inputs:
gradleWrapperFile: '$(Build.SourcesDirectory)/AuthService/gradlew'
workingDirectory: '$(Build.SourcesDirectory)/AuthService'
tasks: 'build'
publishJUnitResults: false
javaHomeOption: 'JDKVersion'
sonarQubeRunAnalysis: false
displayName: Building Spring
- task: Gradle@2
inputs:
gradleWrapperFile: '$(Build.SourcesDirectory)/AuthService/gradlew'
workingDirectory: '$(Build.SourcesDirectory)/AuthService'
tasks: 'test'
publishJUnitResults: false
javaHomeOption: 'JDKVersion'
sonarQubeRunAnalysis: false
displayName: Testing Spring
- job: Test_DiscoveryService
displayName: "Test_DiscoveryService"
steps:
- task: Gradle@2
inputs:
gradleWrapperFile: '$(Build.SourcesDirectory)/DiscoveryService/gradlew'
workingDirectory: '$(Build.SourcesDirectory)/DiscoveryService'
tasks: 'build'
publishJUnitResults: false
javaHomeOption: 'JDKVersion'
sonarQubeRunAnalysis: false
displayName: Building Spring
- task: Gradle@2
inputs:
gradleWrapperFile: '$(Build.SourcesDirectory)/DiscoveryService/gradlew'
workingDirectory: '$(Build.SourcesDirectory)/DiscoveryService'
tasks: 'test'
publishJUnitResults: false
javaHomeOption: 'JDKVersion'
sonarQubeRunAnalysis: false
displayName: Testing Spring