Merge "Move sonarcloud config parameters to defaults"
[ci-management.git] / jjb / ric-plt-a1 / ric-plt-a1.yaml
1 ---
2 - project:
3     name: ric-plt-a1-project-view
4     project-name: ric-plt-a1
5     views:
6       - project-view
7
8 - project:
9     name: ric-plt-a1-info
10     project: ric-plt/a1
11     project-name: ric-plt-a1
12     build-node: centos7-builder-1c-1g
13     jobs:
14       - gerrit-info-yaml-verify
15
16 - a1_common: &a1_common
17     # values apply to all A1 projects
18     name: a1-common
19     # git repo
20     project: ric-plt/a1
21     # jenkins job name prefix
22     project-name: ric-plt-a1
23     # maven settings file has docker credentials
24     mvn-settings: ric-plt-a1-settings
25
26 - project:
27     <<: *a1_common
28     name: ric-plt-a1
29     # image name
30     docker-name: '{name}'
31     # source of docker tag
32     container-tag-method: yaml-file
33     # use host network
34     docker-build-args: '--network=host'
35     build-node: ubuntu1804-docker-4c-4g
36     stream:
37       - master:
38           branch: master
39     jobs:
40       - '{project-name}-gerrit-docker-jobs'
41
42 - project:
43     <<: *a1_common
44     name: ric-plt-a1-verify
45     # the install script assumes an ubuntu image
46     build-node: ubuntu1804-builder-2c-2g
47     pre-build-script: !include-raw-escape:
48       - ../shell/install-deb-nng-rmr.sh
49     python-version: python3
50     stream:
51       - master:
52           branch: master
53     jobs:
54       - gerrit-tox-verify
55       - gerrit-python-xc-clm
56
57 - project:
58     <<: *a1_common
59     name: ric-plt-a1-sonar
60     branch: master
61     python-version: python3
62     # the install script assumes an ubuntu image
63     build-node: ubuntu1804-builder-2c-2g
64     pre-build-script: !include-raw-escape:
65       - ../shell/install-deb-nng-rmr.sh
66     sonarcloud: true
67     sonarcloud-api-token: '{sonarcloud_api_token}'
68     sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
69     sonarcloud-project-organization: '{sonarcloud_project_organization}'
70     jobs:
71       - gerrit-tox-sonar