48249d8498d50fb3f94171e4d5f0327a16d1b4ff
[infra/cicd.git] / jjb / geode / apache-geode-test-coordinator.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-coordinator'
22     project: 'Nordix/geode'
23
24     stream:
25       - 'release-nordix-1.10.0':
26           branch: 'release-nordix/1.10.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
47     properties:
48       - logrotate
49       - github:
50           url: 'https://github.com/Nordix/geode.git/'
51       - throttle:
52           max-per-node: 1
53           max-total: 3
54           option: project
55
56     wrappers:
57       - openstack:
58           single-use: True
59
60     scm:
61       - git-scm-github:
62           branch: '{branch}'
63           refspec: ''
64           wipe_workspace: true
65           clean_before: false
66           base_dir: 'geode'
67
68     triggers:
69       - github
70
71     builders:
72       - 'verify-geode-tag-macro'
73       - multijob:
74           name: SlaveSetup
75           condition: SUCCESSFUL
76           execution-type: SEQUENTIALLY
77           projects:
78             - name: 'apache-geode-SlaveSetup'
79               current-parameters: true
80               git-revision: false
81               abort-all-job: true
82               node-parameters: true
83       - multijob:
84           name: Test
85           condition: SUCCESSFUL
86           execution-type: SEQUENTIALLY
87           projects:
88             - name: 'apache-geode-UnitTest-jdk8'
89               current-parameters: true
90               git-revision: true
91               abort-all-job: true
92               node-parameters: true
93             - name: 'apache-geode-UnitTest-jdk11'
94               current-parameters: true
95               git-revision: true
96               abort-all-job: true
97               node-parameters: true
98             - name: 'apache-geode-StressNewTest-jdk11'
99               current-parameters: true
100               git-revision: true
101               abort-all-job: true
102               node-parameters: true
103             - name: 'apache-geode-IntegrationTest-jdk11'
104               current-parameters: true
105               git-revision: true
106               abort-all-job: true
107               node-parameters: true
108             - name: 'apache-geode-AcceptanceTest-jdk11'
109               current-parameters: true
110               git-revision: true
111               abort-all-job: true
112               node-parameters: true
113             - name: 'apache-geode-UpgradeTest-jdk11'
114               current-parameters: true
115               git-revision: true
116               abort-all-job: true
117               node-parameters: true
118             - name: 'apache-geode-DistributedTest-jdk11'
119               current-parameters: true
120               git-revision: true
121               abort-all-job: true
122               node-parameters: true
123       - multijob:
124           name: Build&Release
125           condition: SUCCESSFUL
126           execution-type: SEQUENTIALLY
127           projects:
128             - name: 'apache-geode-build-release-jdk8'
129               current-parameters: true
130               git-revision: true
131               abort-all-job: true
132               node-parameters: true
133
134     publishers:
135       - notify-slack:
136           slack-channel: '#geode-ci'
137           notify-start: true
138           notify-success: true
139           notify-failure: true
140           notify-back-to-normal: true