-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
55 lines (55 loc) · 1.97 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
jobs:
- job: Test
pool:
vmImage: 'ubuntu-20.04'
variables:
NODE_VERSION: 16.17.0
SPRING_OUTPUT_ANSI_ENABLED: NEVER
SPRING_JPA_SHOW_SQL: false
JHI_DISABLE_WEBPACK_LOGS: true
NG_CLI_ANALYTICS: 'false'
JHI_E2E_HEADLESS: true
steps:
#----------------------------------------------------------------------
# Install all tools and check configuration
#----------------------------------------------------------------------
- task: NodeTool@0
inputs:
versionSpec: $(NODE_VERSION)
displayName: 'TOOLS: install Node.js'
#----------------------------------------------------------------------
# Tests
#----------------------------------------------------------------------
# - task: Npm@1
# inputs:
# command: 'install'
# displayName: 'INSTALL: launch npm install'
# - script: chmod +x mvnw
# - task: Npm@1
# inputs:
# command: 'custom'
# customCommand: ' run ci:backend:test'
# displayName: 'TESTS: backend'
# - task: PublishTestResults@2
# inputs:
# testResultsFormat: 'JUnit'
# testResultsFiles: '**/TEST-*.xml'
# searchFolder: '$(Build.SourcesDirectory)/target/test-results'
# condition: succeededOrFailed()
# displayName: 'TESTS: publish test results'
# - task: Npm@1
# inputs:
# command: 'custom'
# customCommand: ' run ci:frontend:test'
# displayName: 'TESTS: frontend'
# - task: PublishTestResults@2
# inputs:
# testResultsFormat: 'JUnit'
# testResultsFiles: '$(Build.SourcesDirectory)/target/test-results/TESTS-results-jest.xml'
# condition: succeededOrFailed()
# displayName: 'TESTS: publish test results'
# - task: Npm@1
# inputs:
# command: 'custom'
# customCommand: ' run java:jar:prod'
# displayName: 'TESTS: packaging'