blob: c165935b3a2aeafde79b9ab04f01b605d0ecc4e0 [file] [log] [blame]
Lott, Christopher (cl778h)ca548d42019-12-04 08:44:00 -05001---
2- project:
3 name: ric-plt-sdlpy-project-view
4 project-name: ric-plt-sdlpy
5 views:
6 - project-view
7
Aric Gardnerda252d22019-10-11 16:10:03 -04008- project:
9 name: ric-plt-sdlpy-info
10 project: ric-plt/sdlpy
11 project-name: ric-plt-sdlpy
12 build-node: centos7-builder-1c-1g
13 jobs:
14 - gerrit-info-yaml-verify
15
Lott, Christopher (cl778h)ca548d42019-12-04 08:44:00 -050016- sdlpy_common: &sdlpy_common
17 name: sdlpy-common
18 # git repo
19 project: ric-plt/sdlpy
20 # jenkins job name prefix
21 project-name: ric-plt-sdlpy
22 # maven settings file has credentials
23 mvn-settings: ric-plt-sdlpy-settings
24 # release job requires centos
25 build-node: centos7-builder-1c-1g
26
Lott, Christopher (cl778h)ca548d42019-12-04 08:44:00 -050027# verify distribution and publish to test.pypi.org
28- project:
29 name: ric-plt-sdlpy-pypi
30 <<: *sdlpy_common
31 gerrit_trigger_file_paths:
32 - compare-type: REG_EXP
33 pattern: 'ricsdl-package/.*'
34 tox-dir: ricsdl-package
35 jobs:
36 - '{project-name}-gerrit-pypi-jobs'
37 stream:
38 - master:
39 branch: master
40
41# promote distribution from test.pypi.org to pypi.org
42- project:
43 name: ric-plt-sdlpy-release
44 <<: *sdlpy_common
45 jobs:
46 - '{project-name}-gerrit-pypi-release-jobs'
47
48# analyze unit test coverage
49- project:
50 name: ric-plt-sdlpy-sonar
51 <<: *sdlpy_common
52 branch: master
Lott, Christopher (cl778h)ca548d42019-12-04 08:44:00 -050053 sonarcloud: true
54 sonarcloud-api-token: '{sonarcloud_api_token}'
55 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
56 sonarcloud-project-organization: '{sonarcloud_project_organization}'
57 tox-dir: ricsdl-package
Lott, Christopher (cl778h)6f79b2c2020-01-21 16:55:38 -050058 mvn-params: -f ricsdl-package
Lott, Christopher (cl778h)ca548d42019-12-04 08:44:00 -050059 jobs:
60 - gerrit-tox-sonar