blob: b42a37a83c586bfe25664e445f0606e2f043a622 [file] [log] [blame]
LF Jenkins CI68d44732020-10-20 19:54:11 +00001---
2- project:
3 name: smo-o1-project-view
4 project-name: smo-o1
5 views:
6 - project-view
7
8- project:
9 name: smo-o1-info
10 project: smo/o1
11 project-name: smo-o1
12 build-node: centos7-builder-1c-1g
13 jobs:
14 - gerrit-info-yaml-verify
Mahesh Jethanandani6cdc6082022-12-02 15:11:34 -080015
Anil Belur439502c2023-05-07 12:39:38 +100016- _smo_o1_common: &smo_o1_common # values apply to all projects
Mahesh Jethanandani6cdc6082022-12-02 15:11:34 -080017 name: smo-o1-common
18 # git repo
19 project: smo/o1
20 # jenkins job name prefix
21 project-name: smo-o1
22 # maven settings file has docker credentials
23 mvn-settings: smo-o1-settings
24 # Sonar settings
25 sonarcloud-project-key: "smo-o1"
26 sonarcloud-project-organization: "o-ran-sc"
27
28- project:
29 <<: *smo_o1_common
30 name: smo-o1-release
Anil Belur439502c2023-05-07 12:39:38 +100031 project-name: "{name}"
Mahesh Jethanandani6cdc6082022-12-02 15:11:34 -080032 # maven release requires sigul which requires centos
33 # container release requires docker
34 build-node: centos7-docker-2c-8g
35 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100036 - "{project-name}-gerrit-release-jobs"
Mahesh Jethanandani6cdc6082022-12-02 15:11:34 -080037
38- project:
39 <<: *smo_o1_common
40 name: smo-o1-sonarqube
41 python-version: python3
42 # the install script assumes an ubuntu image
43 build-node: ubuntu1804-builder-2c-2g
44 # impt for verify and tox etc
45 tox-envs: code,flake8
46 sonarcloud: true
47 sonar-project-file: ""
48 sonar-properties: |
49 sonar.login={sonarcloud_api_token}
50 sonar.projectKey={sonarcloud_project_organization}_{project-name}
51 sonar.projectName={project-name}
52 sonar.organization={sonarcloud_project_organization}
53 sonar.build.sourceEncoding=UTF-8
54 sonar.sources=collector
55 sonar.python.coverage.reportPaths=coverage.xml
56 jobs:
57 - gerrit-cli-sonar