Merge "Automation adds smo-ves.yaml"
[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           mvn-opts: -Dexec.skip=false
33       - gerrit-maven-docker-merge
34       - gerrit-maven-docker-stage
35     stream:
36       - master:
37           branch: master
38       - bronze:
39           branch: bronze
40
41 # nonrtric:policy-agent
42 # Maven artifacts for nonrtric-policy-agent
43 - project:
44     <<: *nonrtric_jdk_common
45     name: nonrtric-policy-agent
46     project-name: '{name}'
47     mvn-opts: '-Ddocker.skip=true -Dexec.skip=true'
48     mvn-params: '-f policy-agent'
49     gerrit_trigger_file_paths:
50       - compare-type: REG_EXP
51         pattern: 'policy-agent/.*'
52     build-node: ubuntu1804-builder-4c-4g
53     jobs:
54       - gerrit-maven-verify
55       - gerrit-maven-merge
56       - gerrit-maven-stage
57       - gerrit-maven-clm
58     stream:
59       - master:
60           branch: master
61       - bronze:
62           branch: bronze
63
64 # nonrtric:sdnc-a1-controller
65 # Maven artifacts for nonrtric-sdnc-a1-controller
66 - project:
67     <<: *nonrtric_jdk_common
68     name: nonrtric-sdnc-a1-controller
69     project-name: '{name}'
70     mvn-opts: '-Ddocker.skip=true -Dexec.skip=true'
71     mvn-params: '-f sdnc-a1-controller/northbound'
72     gerrit_trigger_file_paths:
73       - compare-type: REG_EXP
74         pattern: 'sdnc-a1-controller/northbound/.*'
75     build-node: ubuntu1804-builder-4c-4g
76     jobs:
77       - gerrit-maven-verify
78       - gerrit-maven-merge
79       - gerrit-maven-stage
80       - gerrit-maven-clm
81     stream:
82       - master:
83           branch: master
84       - bronze:
85           branch: bronze
86
87 - project:
88     <<: *nonrtric_jdk_common
89     name: nonrtric-release
90     # maven release requires sigul which requires centos
91     # container release requires docker
92     build-node: centos7-docker-2c-8g
93     jobs:
94       - '{project-name}-gerrit-release-jobs'
95
96 - project:
97     <<: *nonrtric_jdk_common
98     name: nonrtric-sonar
99     # template goal install builds docker image unnecessarily
100     mvn-params: '-Ddocker.skip=true -Dexec.skip=true'
101     sonarcloud: true
102     sonarcloud-api-token: '{sonarcloud_api_token}'
103     sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
104     sonarcloud-project-organization: '{sonarcloud_project_organization}'
105     jobs:
106       - gerrit-maven-sonar