ORAN: SMO-TEIV: Add nordix verify job (maven)
[infra/cicd.git] / jjb / geode-native / apache-geode-native-verify.yaml
1 ---
2 #
3 # ============LICENSE_START=======================================================
4 #  Copyright (C) 2018-2019 Nordix Foundation.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #      http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #
18 # SPDX-License-Identifier: Apache-2.0
19 # ============LICENSE_END=========================================================
20 - project:
21     name: 'apache-geode-native-verify'
22     project: 'Nordix/geode-native'
23
24     stream:
25       - 'release-nordix-1.10.0':
26           branch: 'release-nordix/1.10.0'
27     jobs:
28       - 'apache-geode-native-{stream}-verify'
29
30 - job-template:
31     name: 'apache-geode-native-{stream}-verify'
32     project-type: multijob
33     disabled: true
34     concurrent: true
35     node: geode-ubuntu1804
36
37     parameters:
38       - string:
39           name: PROJECT
40           default: '{project}'
41           description: JJB configured PROJECT parameter to identify a Nordix GitHub project
42       - string:
43           name: BRANCH
44           default: '{branch}'
45           description: JJB configured BRANCH parameter for Nordix GitHub project
46       - bool:
47           name: PUBLISH_GEODE
48           default: true
49           description: Publish Geode software to Nordix Artifactory after all tests are passed
50       - string:
51           name: JOBS
52           default: '24'
53           description: JJB configured JOBS parameter. Specifies the number of make jobs to run simultaneously while building geode-native
54       - string:
55           name: GEODE_NATIVE_DOCKER_IMAGE
56           default: 'apachegeode/geode-native-build'
57           description: JJB configured name of the geode-native build docker image based on Ubuntu 18.04
58
59     properties:
60       - logrotate
61       - github:
62           url: 'https://github.com/Nordix/geode-native.git/'
63       - throttle:
64           max-per-node: 1
65           max-total: 3
66           option: project
67
68     scm:
69       - git-scm-github:
70           branch: '$BRANCH'
71           refspec: ''
72           wipe_workspace: true
73           clean_before: false
74           base_dir: 'geode-native'
75
76     triggers:
77       - github
78
79     builders:
80       - 'verify-geode-tag-macro'
81       - multijob:
82           name: SlaveSetup
83           condition: SUCCESSFUL
84           execution-type: SEQUENTIALLY
85           projects:
86             - name: 'apache-geode-native-SlaveSetup'
87               current-parameters: true
88               git-revision: false
89               abort-all-job: true
90               node-parameters: true
91       - multijob:
92           name: Verification
93           condition: SUCCESSFUL
94           execution-type: PARALLEL
95           projects:
96             - name: 'apache-geode-native-RatCheck'
97               current-parameters: true
98               git-revision: true
99               abort-all-job: true
100               node-parameters: true
101             - name: 'apache-geode-native-UnitTest'
102               current-parameters: true
103               git-revision: true
104               abort-all-job: true
105               node-parameters: true
106             - name: 'apache-geode-native-IntegrationTest'
107               current-parameters: true
108               git-revision: true
109               abort-all-job: true
110               node-parameters: true
111             - name: 'apache-geode-native-NewIntegrationTest'
112               current-parameters: true
113               git-revision: true
114               abort-all-job: true
115               node-parameters: true
116       - multijob:
117           name: Release
118           condition: SUCCESSFUL
119           execution-type: SEQUENTIALLY
120           projects:
121             - name: 'apache-geode-native-SrcRelease'
122               current-parameters: true
123               git-revision: true
124               abort-all-job: true
125               node-parameters: true
126               enable-condition: "$PUBLISH_GEODE == true"
127
128     publishers:
129       - notify-slack:
130           slack-channel: '#geode-ci'
131           notify-start: true
132           notify-success: true
133           notify-failure: true
134           notify-back-to-normal: true