Mahesh Jethanandani | ad7a9c7 | 2022-03-17 16:50:31 -0700 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: smo-o2-project-view |
| 4 | project-name: smo-o2 |
| 5 | views: |
| 6 | - project-view |
| 7 | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 8 | - _smo_o2_common: &smo_o2_common # values apply to all projects |
Mahesh Jethanandani | 1cc8160 | 2022-12-02 14:37:28 -0800 | [diff] [blame] | 9 | name: smo-o2-common |
Mahesh Jethanandani | ad7a9c7 | 2022-03-17 16:50:31 -0700 | [diff] [blame] | 10 | # 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 Jethanandani | 1cc8160 | 2022-12-02 14:37:28 -0800 | [diff] [blame] | 16 | # Sonar settings |
| 17 | sonarcloud-project-key: "smo-o2" |
| 18 | sonarcloud-project-organization: "o-ran-sc" |
Mahesh Jethanandani | ad7a9c7 | 2022-03-17 16:50:31 -0700 | [diff] [blame] | 19 | |
| 20 | - project: |
Mahesh Jethanandani | 1cc8160 | 2022-12-02 14:37:28 -0800 | [diff] [blame] | 21 | <<: *smo_o2_common |
Mahesh Jethanandani | ad7a9c7 | 2022-03-17 16:50:31 -0700 | [diff] [blame] | 22 | name: smo-o2-release |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 23 | project-name: "{name}" |
Mahesh Jethanandani | ad7a9c7 | 2022-03-17 16:50:31 -0700 | [diff] [blame] | 24 | # maven release requires sigul which requires centos |
| 25 | # container release requires docker |
| 26 | build-node: centos7-docker-2c-8g |
| 27 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 28 | - "{project-name}-gerrit-release-jobs" |
Mahesh Jethanandani | 1cc8160 | 2022-12-02 14:37:28 -0800 | [diff] [blame] | 29 | |
| 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 |