Adding setting prefix to refer maven setting folder
[ci-management.git] / jjb / nonrtric / nonrtric.yaml
1 ---
2 - project:
3     name: nonrtric-project-view
4     project-name: nonrtric
5     views:
6       - project-view
7
8 - project:
9     name: nonrtric-info
10     project: nonrtric
11     project-name: nonrtric
12     build-node: centos7-builder-1c-1g
13     jobs:
14       - gerrit-info-yaml-verify
15
16 - _nonrtric_jdk_common: &nonrtric_jdk_common
17     name: nonrtric-jdk-common
18     # git repo
19     project: nonrtric
20     # jenkins job name prefix
21     project-name: nonrtric
22     # maven settings file has docker credentials
23     mvn-settings: nonrtric-settings
24     mvn-version: mvn36
25     java-version: openjdk17
26
27 - project:
28     <<: *nonrtric_jdk_common
29     name: nonrtric-test-kafka-procon
30     project-name: "{name}"
31     # image name
32     docker-name: "kafka-procon"
33     # get tag from YAML
34     container-tag-method: yaml-file
35     # use host network to clone from our gerrit
36     docker-build-args: "--network=host"
37     # Directory with Dockerfile
38     docker-root: "test/kafka-procon"
39     # Directory where go test should be run
40     # Limit build trigger to appropriate files
41     gerrit_trigger_file_paths:
42       - compare-type: REG_EXP
43         pattern: "test/kafka-procon/.*"
44     build-node: ubuntu1804-docker-4c-4g
45     # Includes verify and merge jobs
46     jobs:
47       - "{project-name}-gerrit-docker-jobs"
48     stream:
49       - master:
50           branch: master
51
52 - project:
53     <<: *nonrtric_jdk_common
54     name: nonrtric-test-http-https-proxy
55     project-name: "{name}"
56     # image name
57     docker-name: "http-https-proxy"
58     # get tag from YAML
59     container-tag-method: yaml-file
60     # use host network to clone from our gerrit
61     docker-build-args: "--network=host"
62     # Directory with Dockerfile
63     docker-root: "test/http-https-proxy"
64     # Directory where go test should be run
65     # Limit build trigger to appropriate files
66     gerrit_trigger_file_paths:
67       - compare-type: REG_EXP
68         pattern: "test/http-https-proxy/.*"
69     build-node: ubuntu1804-docker-4c-4g
70     # Includes verify and merge jobs
71     jobs:
72       - "{project-name}-gerrit-docker-jobs"
73     stream:
74       - master:
75           branch: master
76
77 - project:
78     <<: *nonrtric_jdk_common
79     name: nonrtric-test-cr
80     project-name: "{name}"
81     # image name
82     docker-name: "cr"
83     # get tag from YAML
84     container-tag-method: yaml-file
85     # use host network to clone from our gerrit
86     docker-build-args: "--network=host"
87     # Directory with Dockerfile
88     docker-root: "test/cr"
89     # Directory where go test should be run
90     # Limit build trigger to appropriate files
91     gerrit_trigger_file_paths:
92       - compare-type: REG_EXP
93         pattern: "test/cr/.*"
94     build-node: ubuntu1804-docker-4c-4g
95     # Includes verify and merge jobs
96     jobs:
97       - "{project-name}-gerrit-docker-jobs"
98     stream:
99       - master:
100           branch: master
101
102 - project:
103     <<: *nonrtric_jdk_common
104     name: nonrtric-test-prodstub
105     project-name: "{name}"
106     # image name
107     docker-name: "prodstub"
108     # get tag from YAML
109     container-tag-method: yaml-file
110     # use host network to clone from our gerrit
111     docker-build-args: "--network=host"
112     # Directory with Dockerfile
113     docker-root: "test/prodstub"
114     # Directory where go test should be run
115     # Limit build trigger to appropriate files
116     gerrit_trigger_file_paths:
117       - compare-type: REG_EXP
118         pattern: "test/prodstub/.*"
119     build-node: ubuntu1804-docker-4c-4g
120     # Includes verify and merge jobs
121     jobs:
122       - "{project-name}-gerrit-docker-jobs"
123     stream:
124       - master:
125           branch: master
126
127 - project:
128     <<: *nonrtric_jdk_common
129     name: nonrtric-test-mrstub
130     project-name: "{name}"
131     # image name
132     docker-name: "mrstub"
133     # get tag from YAML
134     container-tag-method: yaml-file
135     # use host network to clone from our gerrit
136     docker-build-args: "--network=host"
137     # Directory with Dockerfile
138     docker-root: "test/mrstub"
139     # Directory where go test should be run
140     # Limit build trigger to appropriate files
141     gerrit_trigger_file_paths:
142       - compare-type: REG_EXP
143         pattern: "test/mrstub/.*"
144     build-node: ubuntu1804-docker-4c-4g
145     # Includes verify and merge jobs
146     jobs:
147       - "{project-name}-gerrit-docker-jobs"
148     stream:
149       - master:
150           branch: master
151
152 - project:
153     <<: *nonrtric_jdk_common
154     name: nonrtric-plt-auth-token-fetch
155     project-name: "{name}"
156     # image name
157     docker-name: "o-ran-sc/nonrtric-plt-auth-token-fetch"
158     # get tag from YAML
159     container-tag-method: yaml-file
160     # use host network to clone from our gerrit
161     docker-build-args: "--network=host"
162     # Directory with Dockerfile
163     docker-root: "auth-token-fetch"
164     # Directory where go test should be run
165     go-root: "auth-token-fetch"
166     # Limit build trigger to appropriate files
167     gerrit_trigger_file_paths:
168       - compare-type: REG_EXP
169         pattern: "auth-token-fetch/.*"
170     build-node: ubuntu1804-docker-4c-4g
171     # Includes verify and merge jobs
172     jobs:
173       - "{project-name}-gerrit-docker-jobs"
174       - gerrit-go-verify
175     stream:
176       - master:
177           branch: master
178       - f-release:
179           java-version: openjdk11
180           branch: f-release
181       - g-release:
182           java-version: openjdk11
183           branch: g-release
184
185 - project:
186     <<: *nonrtric_jdk_common
187     name: nonrtric-plt-auth-token-fetch-sonar
188     project-name: nonrtric-plt-auth-token-fetch
189     # prescan script requires ubuntu
190     # golang is only on docker-enabled nodes
191     build-node: ubuntu1804-docker-4c-4g
192     sonar-prescan-script: !include-raw-escape: prescan-nonrtric-auth-token-fetch-ubuntu.sh
193     sonar-project-file: ""
194     java-version: openjdk11
195     # use sonarcloud values from defaults.yaml
196     sonar-properties: !include-raw-escape: sonar-project.properties
197     jobs:
198       - gerrit-sonar-prescan-script
199
200 - project:
201     <<: *nonrtric_jdk_common
202     name: nonrtric-release
203     # maven release requires sigul which requires centos
204     # container release requires docker
205     build-node: centos7-docker-2c-8g
206     jobs:
207       - "{project-name}-gerrit-release-jobs"