ONAP: Adding Jenkins jobs for oparent repo
[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: false
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       - string:
47           name: JOBS
48           default: '24'
49           description: JJB configured JOBS parameter. Specifies the number of make jobs to run simultaneously while building geode-native
50       - string:
51           name: GEODE_NATIVE_DOCKER_IMAGE
52           default: 'apachegeode/geode-native-build'
53           description: JJB configured name of the geode-native build docker image based on Ubuntu 18.04
54
55     properties:
56       - logrotate
57       - github:
58           url: 'https://github.com/Nordix/geode-native.git/'
59       - throttle:
60           max-per-node: 1
61           max-total: 3
62           option: project
63
64     scm:
65       - git-scm-github:
66           branch: '{branch}'
67           refspec: ''
68           wipe_workspace: true
69           clean_before: false
70           base_dir: 'geode-native'
71
72     triggers:
73       - github
74
75     builders:
76       - 'verify-geode-tag-macro'
77       - multijob:
78           name: SlaveSetup
79           condition: SUCCESSFUL
80           execution-type: SEQUENTIALLY
81           projects:
82             - name: 'apache-geode-native-SlaveSetup'
83               current-parameters: true
84               git-revision: false
85               abort-all-job: true
86               node-parameters: true
87       - multijob:
88           name: Verification
89           condition: SUCCESSFUL
90           execution-type: PARALLEL
91           projects:
92             - name: 'apache-geode-native-RatCheck'
93               current-parameters: true
94               git-revision: true
95               abort-all-job: true
96               node-parameters: true
97             - name: 'apache-geode-native-UnitTest'
98               current-parameters: true
99               git-revision: true
100               abort-all-job: true
101               node-parameters: true
102             - name: 'apache-geode-native-IntegrationTest'
103               current-parameters: true
104               git-revision: true
105               abort-all-job: true
106               node-parameters: true
107             - name: 'apache-geode-native-NewIntegrationTest'
108               current-parameters: true
109               git-revision: true
110               abort-all-job: true
111               node-parameters: true
112       - multijob:
113           name: Release
114           condition: SUCCESSFUL
115           execution-type: SEQUENTIALLY
116           projects:
117             - name: 'apache-geode-native-SrcRelease'
118               current-parameters: true
119               git-revision: true
120               abort-all-job: true
121               node-parameters: true
122
123     publishers:
124       - notify-slack:
125           slack-channel: '#geode'
126           notify-start: true
127           notify-success: true
128           notify-failure: true
129           notify-back-to-normal: true