blob: 87dc30b2deb388307ed046dfd404d6fbf1dc53fc [file] [log] [blame]
LF Jenkins CI276ed292022-02-02 21:03:58 +00001---
2- project:
3 name: nonrtric-plt-dmaapmediatorproducer-project-view
4 project-name: nonrtric-plt-dmaapmediatorproducer
5 views:
6 - project-view
7
8- project:
9 name: nonrtric-plt-dmaapmediatorproducer-info
10 project: nonrtric/plt/dmaapmediatorproducer
11 project-name: nonrtric-plt-dmaapmediatorproducer
12 build-node: centos7-builder-1c-1g
13 jobs:
14 - gerrit-info-yaml-verify
elinuxhenrik12e14292022-02-28 11:03:50 +010015
16- dmaapmediatorproducer_common: &dmaapmediatorproducer_common
17 name: dmaapmediatorproducer-common
18 # git repo
19 project: nonrtric/plt/dmaapmediatorproducer
20 # jenkins job name prefix
21 project-name: nonrtric-plt-dmaapmediatorproducer
22 # maven settings file has docker credentials
23 mvn-settings: nonrtric-plt-dmaapmediatorproducer-settings
24
25- project:
26 <<: *dmaapmediatorproducer_common
27 name: nonrtric-plt-dmaapmediatorproducer-release
28 # maven release requires sigul which requires centos
29 # container release requires docker
30 build-node: centos7-docker-2c-8g
31 jobs:
32 - '{project-name}-gerrit-release-jobs'
33
34- project:
35 <<: *dmaapmediatorproducer_common
36 name: nonrtric-plt-dmaapmediatorproducer
37 project-name: '{name}'
38 # image name
39 docker-name: 'o-ran-sc/nonrtric-plt-dmaapmediatorproducer'
40 # get tag from YAML
41 container-tag-method: yaml-file
42 # use host network to clone from our gerrit
43 docker-build-args: '--network=host'
44 # Directory with Dockerfile
45 docker-root: '.'
46 # Directory where go test should be run
47 go-root: '.'
48 build-node: ubuntu1804-docker-4c-4g
49 # Includes verify and merge jobs
50 jobs:
51 - "{project-name}-gerrit-docker-jobs"
52 - gerrit-go-verify
53 stream:
54 - master:
55 branch: master
56
57- project:
58 <<: *dmaapmediatorproducer_common
59 name: nonrtric-plt-dmaapmediatorproducer-sonar
60 project-name: nonrtric-plt-dmaapmediatorproducer
61 # prescan script requires ubuntu
62 # golang is only on docker-enabled nodes
63 build-node: ubuntu1804-docker-4c-4g
64 sonar-prescan-script: !include-raw-escape: prescan-dmaapmediatorproducer-ubuntu.sh
65 sonar-project-file: ""
66 java-version: openjdk11
67 # use sonarcloud values from defaults.yaml
68 sonar-properties: !include-raw: sonar-project.properties
69 jobs:
70 - gerrit-sonar-prescan-script