blob: ea3d9f6edd99d690d012c41256bc9b9374c04432 [file] [log] [blame]
LF Jenkins CIfb465f62021-10-14 13:32:45 +00001---
2- project:
3 name: pti-o2-project-view
4 project-name: pti-o2
5 views:
6 - project-view
7
8- project:
9 name: pti-o2-info
10 project: pti/o2
11 project-name: pti-o2
12 build-node: centos7-builder-1c-1g
13 jobs:
14 - gerrit-info-yaml-verify
Bin Yangd818ab22021-10-22 13:50:26 +080015
16- pti_o2_common: &pti_o2_common
17 # values apply to all pti/o2 projects
18 name: pti-o2-common
19 # git repo
20 project: pti/o2
21 # jenkins job name prefix
22 project-name: pti-o2
23 # maven settings file has credentials
24 mvn-settings: pti-o2-settings
25
26- pti_o2_python: &pti_o2_python
27 # settings for python builds
28 name: pti-o2-python
29 # the install script assumes an ubuntu image
30 build-node: ubuntu1804-builder-2c-2g
31 # impt for verify and tox etc
32 python-version: python3
33 # no need to verify docs
34 tox-envs: code,flake8
35
36- project:
37 <<: *pti_o2_common
38 <<: *pti_o2_python
39 name: pti-o2-imsdms-verify
40 # do not trigger on changes in docs, releases
41 gerrit_trigger_file_paths:
42 - compare-type: REG_EXP
43 pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
44 jobs:
45 - gerrit-tox-verify
46 stream:
47 - master:
48 branch: master
Bin Yang00b84112021-10-22 13:58:26 +080049
50- project:
51 <<: *pti_o2_common
52 <<: *pti_o2_python
53 name: pti-o2-imsdms-sonarqube
54 sonar-project-file: ""
55 sonar-properties: |
56 sonar.login={sonarcloud_api_token}
57 sonar.projectKey={sonarcloud_project_organization}_{project-name}
58 sonar.projectName={project-name}
59 sonar.organization={sonarcloud_project_organization}
60 sonar.build.sourceEncoding=UTF-8
61 sonar.sources=src
62 sonar.python.coverage.reportPaths=coverage.xml
63 jobs:
64 - gerrit-tox-sonarqube