0e656a182752fb6bf8a619fd82aa5d0172c4bf1d
[ci-management.git] / jjb / nonrtric-plt-sme / nonrtric-plt-sme.yaml
1 ---
2 - project:
3     name: nonrtric-plt-sme-project-view
4     project-name: nonrtric-plt-sme
5     views:
6       - project-view
7
8 - project:
9     name: nonrtric-plt-sme-info
10     project: nonrtric/plt/sme
11     project-name: nonrtric-plt-sme
12     # maven settings file has docker credentials
13     build-node: centos7-builder-1c-1g
14     branch: master
15     jobs:
16       - gerrit-info-yaml-verify
17
18 - _nonrtric_plt_sme_common:
19     &nonrtric_plt_sme_common # values apply to all projects here
20     name: nonrtric-plt-sme-common
21     # git repo
22     project: nonrtric/plt/sme
23     # jenkins job name prefix
24     project-name: nonrtric-plt-sme
25     # maven settings file has docker credentials
26     mvn-settings: nonrtric-plt-sme-settings
27     # defaults.yaml value is NOT used due to value set in lf-maven-jobs.yaml
28     java-version: openjdk11
29     mvn-version: mvn36
30
31 - project:
32     <<: *nonrtric_plt_sme_common
33     name: nonrtric-plt-sme-release
34     # maven release requires sigul which requires centos
35     # container release requires docker
36     build-node: centos7-docker-2c-8g
37     jobs:
38       - "{project-name}-gerrit-release-jobs"
39
40 - project:
41     <<: *nonrtric_plt_sme_common
42     name: nonrtric-plt-sme-capifcore
43     project-name: "{name}"
44     # image name
45     docker-name: "o-ran-sc/nonrtric-plt-capifcore"
46     # get tag from YAML
47     container-tag-method: yaml-file
48     container-tag-yaml-dir: capifcore
49     # use host network to clone from our gerrit
50     docker-build-args: "--network=host"
51     # Directory with Dockerfile
52     docker-root: "capifcore"
53     # Limit build trigger to appropriate files
54     gerrit_trigger_file_paths:
55       - compare-type: REG_EXP
56         pattern: "capifcore/.*"
57     # Directory where go test should be run
58     go-root: "capifcore"
59     build-node: ubuntu1804-docker-4c-4g
60     # Includes verify and merge jobs
61     jobs:
62       - "{project-name}-gerrit-docker-jobs"
63       - gerrit-go-verify
64     stream:
65       - master:
66           branch: master
67       - g-release:
68           branch: g-release
69       - h-release:
70           branch: h-release
71       - i-release:
72           branch: i-release
73
74 - project:
75     <<: *nonrtric_plt_sme_common
76     name: nonrtric-plt-sme-capifcore-sonar
77     # prescan script requires ubuntu
78     # golang is only on docker-enabled nodes
79     build-node: ubuntu1804-docker-4c-4g
80     gerrit_trigger_file_paths:
81       - compare-type: REG_EXP
82         pattern: "capifcore/.*"
83     sonar-prescan-script: !include-raw-escape: prescan-capifcore-ubuntu.sh
84     sonar-project-file: ""
85     java-version: openjdk11
86     # use sonarcloud values from defaults.yaml
87     sonar-properties: !include-raw-escape: sonar-project.properties
88     jobs:
89       - gerrit-sonar-prescan-script