a6cfb4803d804543eabaff40f962303cc343f213
[infra/cicd.git] / jjb / geode / apache-geode-test-coordinator.yaml
1 ---
2 #
3 # ============LICENSE_START=======================================================
4 #  Copyright (C) 2018-2022 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-coordinator'
22     project: 'Nordix/geode'
23
24     stream:
25       - 'release-nordix-1.14.0':
26           branch: 'release-nordix/1.14.0'
27     jobs:
28       - 'apache-geode-verify-{stream}-coordinator'
29
30 - job-template:
31     name: 'apache-geode-verify-{stream}-coordinator'
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       - bool:
47           name: PUBLISH_GEODE
48           default: true
49           description: Publish Geode software to Nordix Artifactory after all tests are passed
50
51     properties:
52       - logrotate
53       - github:
54           url: 'https://github.com/Nordix/geode.git/'
55       - throttle:
56           max-per-node: 1
57           max-total: 3
58           option: project
59
60     wrappers:
61       - openstack:
62           single-use: True
63
64     scm:
65       - git-scm-github:
66           branch: '$BRANCH'
67           refspec: ''
68           wipe_workspace: true
69           clean_before: false
70           base_dir: 'geode'
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-SlaveSetup'
83               current-parameters: true
84               git-revision: false
85               abort-all-job: true
86               node-parameters: true
87       - multijob:
88           name: Test
89           condition: SUCCESSFUL
90           execution-type: SEQUENTIALLY
91           projects:
92             - name: 'apache-geode-UnitTest-jdk8'
93               current-parameters: true
94               git-revision: true
95               abort-all-job: true
96               node-parameters: true
97             - name: 'apache-geode-UnitTest-jdk11'
98               current-parameters: true
99               git-revision: true
100               abort-all-job: true
101               node-parameters: true
102 # Disable ApiCheck job as the ApiCheckTest was introduced
103 # in Geode 1.13 and it doesn't exist in geode 1.12
104 #            - name: 'apache-geode-ApiCheckTest-jdk11'
105 #              current-parameters: true
106 #              git-revision: true
107 #              disabled: true
108 #              abort-all-job: true
109 #              node-parameters: true
110             - name: 'apache-geode-StressNewTest-jdk11'
111               current-parameters: true
112               git-revision: true
113               abort-all-job: true
114               node-parameters: true
115             - name: 'apache-geode-IntegrationTest-jdk11'
116               current-parameters: true
117               git-revision: true
118               abort-all-job: true
119               node-parameters: true
120             - name: 'apache-geode-AcceptanceTest-jdk11'
121               current-parameters: true
122               git-revision: true
123               abort-all-job: true
124               node-parameters: true
125             - name: 'apache-geode-UpgradeTest-jdk11'
126               current-parameters: true
127               git-revision: true
128               abort-all-job: true
129               node-parameters: true
130             - name: 'apache-geode-DistributedTest-jdk11'
131               current-parameters: true
132               git-revision: true
133               abort-all-job: true
134               node-parameters: true
135       - multijob:
136           name: Build&Release
137           condition: SUCCESSFUL
138           execution-type: SEQUENTIALLY
139           projects:
140             - name: 'apache-geode-build-release-jdk8'
141               current-parameters: true
142               git-revision: true
143               abort-all-job: true
144               node-parameters: true
145               enable-condition: "$PUBLISH_GEODE == true"
146
147     # publishers:
148     #   - notify-slack:
149     #       slack-channel: '#geode-ci'
150     #       notify-start: true
151     #       notify-success: true
152     #       notify-failure: true
153     #       notify-back-to-normal: true