Merge "Add base CI job description for e2ap library"
[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: openjdk11
26
27 - project:
28     <<: *nonrtric_jdk_common
29     mvn-params: -Dbuild.number=${{BUILD_NUMBER}}
30     jobs:
31       - gerrit-maven-docker-verify
32       - gerrit-maven-docker-merge
33       - gerrit-maven-docker-stage
34     stream:
35       - master:
36           branch: master
37       - cherry:
38           branch: cherry
39
40 # nonrtric:policy-agent
41 # Maven artifacts for nonrtric-policy-agent
42 - project:
43     <<: *nonrtric_jdk_common
44     name: nonrtric-policy-agent
45     project-name: '{name}'
46     mvn-opts: '-Ddocker.skip=true'
47     mvn-params: '-f policy-agent'
48     gerrit_trigger_file_paths:
49       - compare-type: REG_EXP
50         pattern: 'policy-agent/.*'
51     build-node: ubuntu1804-builder-4c-4g
52     jobs:
53       - gerrit-maven-verify
54       - gerrit-maven-merge
55       - gerrit-maven-stage
56       - gerrit-maven-clm
57     stream:
58       - master:
59           branch: master
60       - cherry:
61           branch: cherry
62
63 # nonrtric:sdnc-a1-controller
64 # Maven artifacts for nonrtric-sdnc-a1-controller
65 - project:
66     <<: *nonrtric_jdk_common
67     name: nonrtric-sdnc-a1-controller
68     project-name: '{name}'
69     mvn-opts: '-Ddocker.skip=true'
70     mvn-params: '-f sdnc-a1-controller/northbound'
71     gerrit_trigger_file_paths:
72       - compare-type: REG_EXP
73         pattern: 'sdnc-a1-controller/northbound/.*'
74     build-node: ubuntu1804-builder-4c-4g
75     jobs:
76       - gerrit-maven-verify
77       - gerrit-maven-merge
78       - gerrit-maven-stage
79       - gerrit-maven-clm
80     stream:
81       - master:
82           branch: master
83       - cherry:
84           branch: cherry
85
86 # nonrtric:enrichment-coordinator-service
87 # Maven artifacts for nonrtric-enrichment-coordinator-service
88 - project:
89     <<: *nonrtric_jdk_common
90     name: nonrtric-enrichment-coordinator-service
91     project-name: '{name}'
92     mvn-opts: '-Ddocker.skip=true'
93     mvn-params: '-f enrichment-coordinator-service'
94     gerrit_trigger_file_paths:
95       - compare-type: REG_EXP
96         pattern: 'enrichment-coordinator-service/.*'
97     build-node: ubuntu1804-builder-4c-4g
98     jobs:
99       - gerrit-maven-verify
100       - gerrit-maven-merge
101       - gerrit-maven-stage
102       - gerrit-maven-clm
103     stream:
104       - master:
105           branch: master
106       - cherry:
107           branch: cherry
108
109 # nonrtric:r-app-catalogue
110 # Maven artifacts for r-app-catalogue
111 - project:
112     <<: *nonrtric_jdk_common
113     name: nonrtric-r-app-catalogue
114     project-name: '{name}'
115     mvn-opts: '-Ddocker.skip=true'
116     mvn-params: '-f r-app-catalogue'
117     gerrit_trigger_file_paths:
118       - compare-type: REG_EXP
119         pattern: 'r-app-catalogue/.*'
120     build-node: ubuntu1804-builder-4c-4g
121     jobs:
122       - gerrit-maven-verify
123       - gerrit-maven-merge
124       - gerrit-maven-stage
125       - gerrit-maven-clm
126     stream:
127       - master:
128           branch: master
129       - cherry:
130           branch: cherry
131
132 - project:
133     <<: *nonrtric_jdk_common
134     name: nonrtric-release
135     # maven release requires sigul which requires centos
136     # container release requires docker
137     build-node: centos7-docker-2c-8g
138     jobs:
139       - '{project-name}-gerrit-release-jobs'
140
141 - project:
142     <<: *nonrtric_jdk_common
143     name: nonrtric-sonar
144     # template goal install builds docker image unnecessarily
145     mvn-params: '-Ddocker.skip=true'
146     sonarcloud: true
147     sonarcloud-api-token: '{sonarcloud_api_token}'
148     sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
149     sonarcloud-project-organization: '{sonarcloud_project_organization}'
150     jobs:
151       - gerrit-maven-sonar