Merge "Adapt nonrtric-plt-sme to capifcore in folder"
[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: &sme_common
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     mvn-settings: nonrtric-plt-sme-settings
14     build-node: centos7-builder-1c-1g
15     branch: master
16     jobs:
17       - gerrit-info-yaml-verify
18
19 - project:
20     <<: *sme_common
21     name: nonrtric-plt-capifcore
22     project-name: '{name}'
23     # image name
24     docker-name: 'o-ran-sc/nonrtric-plt-capifcore'
25     # get tag from YAML
26     container-tag-method: yaml-file
27     # use host network to clone from our gerrit
28     docker-build-args: '--network=host'
29     # Directory with Dockerfile
30     docker-root: 'capifcore'
31     # Limit build trigger to appropriate files
32     gerrit_trigger_file_paths:
33       - compare-type: REG_EXP
34         pattern: 'capifcore/.*'
35     # Directory where go test should be run
36     go-root: 'capifcore'
37     build-node: ubuntu1804-docker-4c-4g
38     # Includes verify and merge jobs
39     jobs:
40       - "{project-name}-gerrit-docker-jobs"
41       - gerrit-go-verify
42     stream:
43       - master:
44           branch: master
45
46 - project:
47     <<: *sme_common
48     name: nonrtric-plt-capifcore-sonar
49     project-name: nonrtric-plt-capifcore
50     # prescan script requires ubuntu
51     # golang is only on docker-enabled nodes
52     build-node: ubuntu1804-docker-4c-4g
53     gerrit_trigger_file_paths:
54       - compare-type: REG_EXP
55         pattern: 'capifcore/.*'
56     sonar-prescan-script: !include-raw-escape: prescan-capifcore-ubuntu.sh
57     sonar-project-file: ""
58     java-version: openjdk11
59     # use sonarcloud values from defaults.yaml
60     sonar-properties: !include-raw: sonar-project.properties
61     jobs:
62       - gerrit-sonar-prescan-script