blob: e4fbc0b4e8bfa4493c623155e5a63b523e4f8aaf [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
elinuxhenrikc6be42a2022-06-09 13:10:12 +020053 - gerrit-maven-docker-stage
elinuxhenrik12e14292022-02-28 11:03:50 +010054 stream:
55 - master:
56 branch: master
57
58- project:
59 <<: *dmaapmediatorproducer_common
60 name: nonrtric-plt-dmaapmediatorproducer-sonar
61 project-name: nonrtric-plt-dmaapmediatorproducer
62 # prescan script requires ubuntu
63 # golang is only on docker-enabled nodes
64 build-node: ubuntu1804-docker-4c-4g
65 sonar-prescan-script: !include-raw-escape: prescan-dmaapmediatorproducer-ubuntu.sh
66 sonar-project-file: ""
67 java-version: openjdk11
68 # use sonarcloud values from defaults.yaml
69 sonar-properties: !include-raw: sonar-project.properties
70 jobs:
71 - gerrit-sonar-prescan-script