-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathazure-pipelines.yml
61 lines (50 loc) · 1.24 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
name: $(Build.BuildId)
variables:
- name: 'AppVersion'
value: '1.0.*.[yyyyWW]'
- name: 'dockerimage'
value: 'mcr.microsoft.com/businesscentral/sandbox:us'
- name: 'TestFilter'
value: '50100..50149'
pool:
name: WaldoHetzner
steps:
- checkout: self
clean: true
- task: ALOpsDockerStart@1
inputs:
docker_image: $(dockerimage)
docker_pull: true
docker_login: InsiderDockerRegistry
- task: ALOpsDockerWait@1
inputs:
search_string: 'Ready for connections!'
- task: ALOpsLicenseImport@1
inputs:
usedocker: true
license_path: $(bc.license)
- task: ALOpsAppCompiler@1
inputs:
usedocker: true
nav_app_version: $(AppVersion)
failed_on_warnings: false
- task: ALOpsAppPublish@1
inputs:
usedocker: true
nav_artifact_app_filter: '*.app'
skip_verification: true
# - task: ALOpsAppTest@1
# inputs:
# usedocker: true
# import_action: "Skip"
# testfilter: $(TestFilter)
# show_available_tests: true
# continueOnError: true
# - task: PublishTestResults@1
# inputs:
# testResultsFormat: XUnit
# testResultsFiles: '**/TestResults.xml'
# testRunTitle: 'BC Test Results: $(Build.BuildId)'
- task: ALOpsDockerRemove@1
enabled: true
condition: always()