INFRA: Update the slack options for projects
[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.9.0':
26           branch: 'release-nordix/1.9.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       - multijob:
73           name: SlaveSetup
74           condition: SUCCESSFUL
75           execution-type: SEQUENTIALLY
76           projects:
77             - name: 'apache-geode-SlaveSetup'
78               current-parameters: true
79               git-revision: false
80               abort-all-job: true
81               node-parameters: true
82       - multijob:
83           name: Test
84           condition: SUCCESSFUL
85           execution-type: SEQUENTIALLY
86           projects:
87             - name: 'apache-geode-UnitTest-jdk8'
88               current-parameters: true
89               git-revision: true
90               abort-all-job: true
91               node-parameters: true
92             - name: 'apache-geode-UnitTest-jdk11'
93               current-parameters: true
94               git-revision: true
95               abort-all-job: true
96               node-parameters: true
97             - name: 'apache-geode-StressNewTest-jdk11'
98               current-parameters: true
99               git-revision: true
100               abort-all-job: true
101               node-parameters: true
102             - name: 'apache-geode-IntegrationTest-jdk11'
103               current-parameters: true
104               git-revision: true
105               abort-all-job: true
106               node-parameters: true
107             - name: 'apache-geode-AcceptanceTest-jdk11'
108               current-parameters: true
109               git-revision: true
110               abort-all-job: true
111               node-parameters: true
112             - name: 'apache-geode-UpgradeTest-jdk11'
113               current-parameters: true
114               git-revision: true
115               abort-all-job: true
116               node-parameters: true
117             - name: 'apache-geode-DistributedTest-jdk11'
118               current-parameters: true
119               git-revision: true
120               abort-all-job: true
121               node-parameters: true
122       - multijob:
123           name: Build&Release
124           condition: SUCCESSFUL
125           execution-type: SEQUENTIALLY
126           projects:
127             - name: 'apache-geode-build-jdk8'
128               current-parameters: true
129               git-revision: true
130               abort-all-job: true
131               node-parameters: true
132
133     publishers:
134       - notify-slack:
135           slack-channel: '#geode'
136           notify-start: true
137           notify-success: true
138           notify-failure: true
139           notify-back-to-normal: true