Add jobs for nonrtric-rapp-orufhrecovery
[ci-management.git] / jjb / nonrtric-rapp-orufhrecovery / nonrtric-rapp-orufhrecovery.yaml
1 ---
2 - project:
3     name: nonrtric-rapp-orufhrecovery-project-view
4     project-name: nonrtric-rapp-orufhrecovery
5     views:
6       - project-view
7
8 - project: &orufhrecovery_common
9     name: nonrtric-rapp-orufhrecovery-info
10     project: nonrtric/rapp/orufhrecovery
11     project-name: nonrtric-rapp-orufhrecovery
12     # maven settings file has docker credentials
13     mvn-settings: nonrtric-rapp-orufhrecovery-settings
14     build-node: centos7-builder-1c-1g
15     jobs:
16       - gerrit-info-yaml-verify
17
18 - project:
19     <<: *orufhrecovery_common
20     name: nonrtric-rapp-orufhrecovery
21     project-name: '{name}'
22     # image name
23     docker-name: 'o-ran-sc/nonrtric-rapp-orufhrecovery'
24     # get tag from YAML
25     container-tag-method: yaml-file
26     # use host network to clone from our gerrit
27     docker-build-args: '--network=host'
28     # Directory with Dockerfile
29     docker-root: 'scriptversion/app'
30     # Limit build trigger to appropriate files
31     gerrit_trigger_file_paths:
32       - compare-type: REG_EXP
33         pattern: 'scriptversion/app/.*'
34     build-node: ubuntu1804-docker-4c-4g
35     # Includes verify and merge jobs
36     jobs:
37       - "{project-name}-gerrit-docker-jobs"
38     stream:
39       - master:
40           branch: master
41
42 - project:
43     <<: *orufhrecovery_common
44     name: nonrtric-rapp-orufhrecovery-consumer
45     project-name: '{name}'
46     # image name
47     docker-name: 'o-ran-sc/nonrtric-rapp-orufhrecovery-consumer'
48     # get tag from YAML
49     container-tag-method: yaml-file
50     # use host network to clone from our gerrit
51     docker-build-args: '--network=host'
52     # Directory with Dockerfile
53     docker-root: 'goversion'
54     # Directory where go test should be run
55     go-root: 'goversion'
56     # Limit build trigger to appropriate files
57     gerrit_trigger_file_paths:
58       - compare-type: REG_EXP
59         pattern: 'goversion/.*'
60     build-node: ubuntu1804-docker-4c-4g
61     # Includes verify and merge jobs
62     jobs:
63       - "{project-name}-gerrit-docker-jobs"
64       - gerrit-go-verify
65     stream:
66       - master:
67           branch: master
68
69 - project:
70     <<: *orufhrecovery_common
71     name: nonrtric-rapp-orufhrecovery-consumer-sonar
72     project-name: '{name}'
73     # prescan script requires ubuntu
74     # golang is only on docker-enabled nodes
75     build-node: ubuntu1804-docker-4c-4g
76     sonar-prescan-script: !include-raw-escape: prescan-oruclosedloopconsumer-ubuntu.sh
77     sonar-project-file: ""
78     java-version: openjdk11
79     # use sonarcloud values from defaults.yaml
80     sonar-properties: |
81         # Required metadata
82         sonar.login={sonarcloud_api_token}
83         sonar.projectKey={sonarcloud_project_organization}_nonrtric-rapp-orufhrecovery-consumer
84         sonar.organization={sonarcloud_project_organization}
85         # Encoding
86         sonar.build.sourceEncoding=UTF-8
87         # Language
88         sonar.language=go
89         # Source
90         sonar.sources=.
91         # Unit tests
92         sonar.go.coverage.reportPaths=goversion/coverage.txt
93         # Inclusions
94         sonar.inclusions=goversion/internal/**/**.go,goversion/**.go
95         # Exclusions
96         sonar.exclusions=goversion/mocks/**.go,goversion/internal/**/**_test.go,goversion/**_test.go,goversion/simulator/**.go
97     jobs:
98       - gerrit-sonar-prescan-script