blob: b50a90f95ca1ee5dcb5c93e7c975a28ec017373e [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
Anil Belur439502c2023-05-07 12:39:38 +10008- _smo_o2_common: &smo_o2_common # values apply to all projects
Mahesh Jethanandani1cc81602022-12-02 14:37:28 -08009 name: smo-o2-common
Mahesh Jethanandaniad7a9c72022-03-17 16:50:31 -070010 # git repo
11 project: smo/o2
12 # jenkins job name prefix
13 project-name: smo-o2
14 # maven settings file has docker credentials
15 mvn-settings: smo-o2-settings
Mahesh Jethanandani1cc81602022-12-02 14:37:28 -080016 # Sonar settings
17 sonarcloud-project-key: "smo-o2"
18 sonarcloud-project-organization: "o-ran-sc"
Mahesh Jethanandaniad7a9c72022-03-17 16:50:31 -070019
20- project:
Mahesh Jethanandani1cc81602022-12-02 14:37:28 -080021 <<: *smo_o2_common
Mahesh Jethanandaniad7a9c72022-03-17 16:50:31 -070022 name: smo-o2-release
Anil Belur439502c2023-05-07 12:39:38 +100023 project-name: "{name}"
Mahesh Jethanandaniad7a9c72022-03-17 16:50:31 -070024 # maven release requires sigul which requires centos
25 # container release requires docker
26 build-node: centos7-docker-2c-8g
27 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100028 - "{project-name}-gerrit-release-jobs"
Mahesh Jethanandani1cc81602022-12-02 14:37:28 -080029
30- project:
31 <<: *smo_o2_common
32 name: smo-o2-sonarqube
33 python-version: python3
34 # the install script assumes an ubuntu image
35 build-node: ubuntu1804-builder-2c-2g
36 # impt for verify and tox etc
37 tox-envs: code,flake8
38 sonarcloud: true
39 sonar-project-file: ""
40 sonar-properties: |
41 sonar.login={sonarcloud_api_token}
42 sonar.projectKey={sonarcloud_project_organization}_{project-name}
43 sonar.projectName={project-name}
44 sonar.organization={sonarcloud_project_organization}
45 sonar.build.sourceEncoding=UTF-8
46 sonar.sources=collector
47 sonar.python.coverage.reportPaths=coverage.xml
48 jobs:
49 - gerrit-cli-sonar