blob: 409a38664328e8fd7be1d070bc4dad006c6b3c44 [file] [log] [blame]
Mahesh Jethanandaniad7a9c72022-03-17 16:50:31 -07001---
2- project:
3 name: smo-o2-project-view
4 project-name: smo-o2
5 views:
6 - project-view
7
8- project:
9 name: smo-o2-info
10 project: smo/o2
11 project-name: smo-o2
12 build-node: centos7-builder-1c-1g
13 jobs:
14 - gerrit-info-yaml-verify
15
Mahesh Jethanandani1cc81602022-12-02 14:37:28 -080016- smo_o2_common: &smo_o2_common
17 # values apply to all projects
18 name: smo-o2-common
Mahesh Jethanandaniad7a9c72022-03-17 16:50:31 -070019 # git repo
20 project: smo/o2
21 # jenkins job name prefix
22 project-name: smo-o2
23 # maven settings file has docker credentials
24 mvn-settings: smo-o2-settings
Mahesh Jethanandani1cc81602022-12-02 14:37:28 -080025 # Sonar settings
26 sonarcloud-project-key: "smo-o2"
27 sonarcloud-project-organization: "o-ran-sc"
Mahesh Jethanandaniad7a9c72022-03-17 16:50:31 -070028
29- project:
Mahesh Jethanandani1cc81602022-12-02 14:37:28 -080030 <<: *smo_o2_common
Mahesh Jethanandaniad7a9c72022-03-17 16:50:31 -070031 name: smo-o2-release
32 project-name: '{name}'
33 # maven release requires sigul which requires centos
34 # container release requires docker
35 build-node: centos7-docker-2c-8g
36 jobs:
37 - '{project-name}-gerrit-release-jobs'
Mahesh Jethanandani1cc81602022-12-02 14:37:28 -080038
39- project:
40 <<: *smo_o2_common
41 name: smo-o2-sonarqube
42 python-version: python3
43 # the install script assumes an ubuntu image
44 build-node: ubuntu1804-builder-2c-2g
45 # impt for verify and tox etc
46 tox-envs: code,flake8
47 sonarcloud: true
48 sonar-project-file: ""
49 sonar-properties: |
50 sonar.login={sonarcloud_api_token}
51 sonar.projectKey={sonarcloud_project_organization}_{project-name}
52 sonar.projectName={project-name}
53 sonar.organization={sonarcloud_project_organization}
54 sonar.build.sourceEncoding=UTF-8
55 sonar.sources=collector
56 sonar.python.coverage.reportPaths=coverage.xml
57 jobs:
58 - gerrit-cli-sonar