-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgocd.yaml
82 lines (80 loc) · 2.59 KB
/
gocd.yaml
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
format_version: 9
common:
build_stage: &build_stage
- stage-build:
jobs:
job-build:
resources:
- msbuild
- arcmap10-6
artifacts:
- build:
source: toolbox/arcgis10_mapping_tools/arcaddins_for_testing
destination: addins
- test:
source: toolbox/arcgis10_mapping_tools/unittestresults
- build:
source: toolbox/arcgis10_mapping_tools/coverage
destination: coverage
tabs:
esriAddIn: addins/arcaddins_for_testing/MapActionToolbars.esriAddIn
Coverage: coverage/coverage/index.htm
tasks:
- exec:
command: "cmd.exe"
arguments:
- "/c"
- toolbox\\make.cmd
- exec:
command: "cmd.exe"
arguments:
- "/c"
- toolbox\\arcgis10_mapping_tools\\arcaddins_for_testing\\post_build_copy_addins.cmd
- exec:
command: "cmd.exe"
arguments:
- "/c"
- toolbox\\arcgis10_mapping_tools\\get_coverage.cmd
testing_stage: &testing_stage
- stage-test:
jobs:
job-test:
resources:
- msbuild
artifacts:
- test:
source: toolbox\\arcgis10_mapping_tools\\TestResult.xml
tabs:
Unit-Tests: toolbox\\arcgis10_mapping_tools\\TestResult.xml
Coverage: toolbox\\arcgis10_mapping_tools\\coverage\\index.htm
tasks:
- exec:
command: "cmd.exe"
arguments:
- "/c"
- toolbox\\arcgis10_mapping_tools\\get_coverage.cmd
pipelines:
test-all-prs:
group: MapAction-Toolbox
label_template: ${COUNT}
lock_behavior: unlockWhenFinished
materials:
toolbox:
scm: 232f5f9c-a656-49b3-b172-d6242cb1a3bc
destination: toolbox
stages:
- *build_stage
deploy-master:
group: MapAction-Toolbox
label_template: ${COUNT}
lock_behavior: unlockWhenFinished
materials:
toolbox:
git: https://github.com/mapaction/mapaction-toolbox.git
destination: toolbox
branch: master
username: mapaction-ci-servers
encrypted_password : AES:/tL+kSfanw1Vz+YhfX+C7g==:3UFicQJU9iJAH7ITgi/0MsBRs0Al81OIIkwq9Qru0NPsuXsTT+tFOtKAf4JhZXI7
stages:
- *build_stage
- *testing_stage