blob: 04b9ef52beac1be620b978d6fbeaaae20aa8daf6 [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
16- smo_o1_common: &smo_o1_common
17 # values apply to all projects
18 name: smo-o1-common
19 # git repo
20 project: smo/o1
21 # jenkins job name prefix
22 project-name: smo-o1
23 # maven settings file has docker credentials
24 mvn-settings: smo-o1-settings
25 # Sonar settings
26 sonarcloud-project-key: "smo-o1"
27 sonarcloud-project-organization: "o-ran-sc"
28
29- project:
30 <<: *smo_o1_common
31 name: smo-o1-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'
38
39- project:
40 <<: *smo_o1_common
41 name: smo-o1-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