LF Jenkins CI | 68d4473 | 2020-10-20 19:54:11 +0000 | [diff] [blame] | 1 | --- |
| 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 Jethanandani | 6cdc608 | 2022-12-02 15:11:34 -0800 | [diff] [blame] | 15 | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 16 | - _smo_o1_common: &smo_o1_common # values apply to all projects |
Mahesh Jethanandani | 6cdc608 | 2022-12-02 15:11:34 -0800 | [diff] [blame] | 17 | 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 Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 31 | project-name: "{name}" |
Mahesh Jethanandani | 6cdc608 | 2022-12-02 15:11:34 -0800 | [diff] [blame] | 32 | # maven release requires sigul which requires centos |
| 33 | # container release requires docker |
| 34 | build-node: centos7-docker-2c-8g |
| 35 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 36 | - "{project-name}-gerrit-release-jobs" |
Mahesh Jethanandani | 6cdc608 | 2022-12-02 15:11:34 -0800 | [diff] [blame] | 37 | |
| 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 |