91df2948bdc8209a1b8fad221cfe2769ccafbabe
[ci-management.git] / jjb / ric-plt-xapp-frame-py / ric-plt-xapp-frame-py.yaml
1 ---
2 - project:
3     name: ric-plt-xapp-frame-py-project-view
4     project-name: ric-plt-xapp-frame-py
5     views:
6       - project-view
7
8 - project:
9     name: ric-plt-xapp-frame-py-info
10     project: ric-plt/xapp-frame-py
11     project-name: ric-plt-xapp-frame-py
12     build-node: centos7-builder-1c-1g
13     jobs:
14       - gerrit-info-yaml-verify
15
16 - _py_common: &py_common
17     name: xapp-frame-py-common
18     # git repo
19     project: ric-plt/xapp-frame-py
20     # jenkins job name prefix
21     project-name: ric-plt-xapp-frame-py
22     # maven settings file has credentials
23     mvn-settings: ric-plt-xapp-frame-py-settings
24     # dont run docs on verify
25     tox-envs: code,flake8
26     build-node: ubuntu1804-builder-2c-2g
27     pre-build-script: !include-raw-escape:
28       - ../shell/install-deb-rmr.sh
29       - ../shell/install-deb-e2ap.sh
30
31 - project:
32     name: ric-plt-xapp-frame-py-pypi
33     <<: *py_common
34     # do not trigger on changes in docs, releases
35     gerrit_trigger_file_paths:
36       - compare-type: REG_EXP
37         pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
38     jobs:
39       - gerrit-pypi-verify
40       - gerrit-pypi-stage
41     stream:
42       - master:
43           branch: master
44
45 - project:
46     name: ric-plt-xapp-frame-py-release
47     <<: *py_common
48     # release requires sigul which requires centos
49     build-node: centos7-builder-1c-1g
50     jobs:
51       - "{project-name}-gerrit-pypi-release-jobs"
52
53 - project:
54     name: ric-plt-xapp-frame-py-sonarqube
55     <<: *py_common
56     sonar-project-file: ""
57     sonar-properties: |
58       sonar.login={sonarcloud_api_token}
59       sonar.projectKey={sonarcloud_project_organization}_{project-name}
60       sonar.projectName={project-name}
61       sonar.organization={sonarcloud_project_organization}
62       sonar.build.sourceEncoding=UTF-8
63       sonar.sources=ricxappframe
64       sonar.exclusions=setup.py,tests/*.py
65       sonar.python.coverage.reportPaths=coverage.xml
66     jobs:
67       - gerrit-tox-sonarqube
68
69 - project:
70     <<: *py_common
71     name: ric-plt-xapp-frame-py-nexus-iq
72     build-node: centos7-builder-1c-1g
73     nexus-iq-namespace: oran-
74     jobs:
75       - gerrit-tox-nexus-iq-clm