blob: 99c135aced1f250db517738fc671b30faa338b52 [file] [log] [blame]
LF Jenkins CIb6d1ce62022-02-02 19:35:46 +00001---
2- project:
3 name: nonrtric-rapp-orufhrecovery-project-view
4 project-name: nonrtric-rapp-orufhrecovery
5 views:
6 - project-view
7
elinuxhenrikd6c0f972022-04-07 16:59:45 +02008- project: &orufhrecovery_common
LF Jenkins CIb6d1ce62022-02-02 19:35:46 +00009 name: nonrtric-rapp-orufhrecovery-info
10 project: nonrtric/rapp/orufhrecovery
11 project-name: nonrtric-rapp-orufhrecovery
elinuxhenrikd6c0f972022-04-07 16:59:45 +020012 # maven settings file has docker credentials
13 mvn-settings: nonrtric-rapp-orufhrecovery-settings
LF Jenkins CIb6d1ce62022-02-02 19:35:46 +000014 build-node: centos7-builder-1c-1g
15 jobs:
16 - gerrit-info-yaml-verify
elinuxhenrikd6c0f972022-04-07 16:59:45 +020017
18- project:
19 <<: *orufhrecovery_common
elinuxhenrik28c3a862022-04-13 07:41:40 +020020 name: nonrtric-rapp-orufhrecovery-release
21 # maven release requires sigul which requires centos
22 # container release requires docker
23 build-node: centos7-docker-2c-8g
24 jobs:
25 - '{project-name}-gerrit-release-jobs'
26
27- project:
28 <<: *orufhrecovery_common
elinuxhenrikd6c0f972022-04-07 16:59:45 +020029 name: nonrtric-rapp-orufhrecovery
30 project-name: '{name}'
31 # image name
32 docker-name: 'o-ran-sc/nonrtric-rapp-orufhrecovery'
33 # get tag from YAML
34 container-tag-method: yaml-file
35 # use host network to clone from our gerrit
36 docker-build-args: '--network=host'
37 # Directory with Dockerfile
38 docker-root: 'scriptversion/app'
39 # Limit build trigger to appropriate files
40 gerrit_trigger_file_paths:
41 - compare-type: REG_EXP
42 pattern: 'scriptversion/app/.*'
43 build-node: ubuntu1804-docker-4c-4g
44 # Includes verify and merge jobs
45 jobs:
46 - "{project-name}-gerrit-docker-jobs"
elinuxhenrikc6be42a2022-06-09 13:10:12 +020047 - gerrit-maven-docker-stage
elinuxhenrikd6c0f972022-04-07 16:59:45 +020048 stream:
49 - master:
50 branch: master
51
52- project:
53 <<: *orufhrecovery_common
54 name: nonrtric-rapp-orufhrecovery-consumer
55 project-name: '{name}'
56 # image name
57 docker-name: 'o-ran-sc/nonrtric-rapp-orufhrecovery-consumer'
58 # get tag from YAML
59 container-tag-method: yaml-file
60 # use host network to clone from our gerrit
61 docker-build-args: '--network=host'
62 # Directory with Dockerfile
63 docker-root: 'goversion'
64 # Directory where go test should be run
65 go-root: 'goversion'
66 # Limit build trigger to appropriate files
67 gerrit_trigger_file_paths:
68 - compare-type: REG_EXP
69 pattern: 'goversion/.*'
70 build-node: ubuntu1804-docker-4c-4g
71 # Includes verify and merge jobs
72 jobs:
73 - "{project-name}-gerrit-docker-jobs"
74 - gerrit-go-verify
elinuxhenrikc6be42a2022-06-09 13:10:12 +020075 - gerrit-maven-docker-stage
elinuxhenrikd6c0f972022-04-07 16:59:45 +020076 stream:
77 - master:
78 branch: master
79
80- project:
81 <<: *orufhrecovery_common
82 name: nonrtric-rapp-orufhrecovery-consumer-sonar
83 project-name: '{name}'
84 # prescan script requires ubuntu
85 # golang is only on docker-enabled nodes
86 build-node: ubuntu1804-docker-4c-4g
87 sonar-prescan-script: !include-raw-escape: prescan-oruclosedloopconsumer-ubuntu.sh
88 sonar-project-file: ""
89 java-version: openjdk11
90 # use sonarcloud values from defaults.yaml
91 sonar-properties: |
92 # Required metadata
93 sonar.login={sonarcloud_api_token}
94 sonar.projectKey={sonarcloud_project_organization}_nonrtric-rapp-orufhrecovery-consumer
95 sonar.organization={sonarcloud_project_organization}
96 # Encoding
97 sonar.build.sourceEncoding=UTF-8
98 # Language
99 sonar.language=go
100 # Source
101 sonar.sources=.
102 # Unit tests
103 sonar.go.coverage.reportPaths=goversion/coverage.txt
104 # Inclusions
105 sonar.inclusions=goversion/internal/**/**.go,goversion/**.go
106 # Exclusions
107 sonar.exclusions=goversion/mocks/**.go,goversion/internal/**/**_test.go,goversion/**_test.go,goversion/simulator/**.go
108 jobs:
109 - gerrit-sonar-prescan-script