Correct bml job names
[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.15.1':
26           branch: 'release-nordix/1.15.1'
27           test_using_docker: false
28       - 'release-nordix-1.14.0':
29           branch: 'release-nordix/1.14.0'
30           test_using_docker: true
31     jobs:
32       - 'apache-geode-verify-{stream}-coordinator'
33
34 - job-template:
35     name: 'apache-geode-verify-{stream}-coordinator'
36     project-type: multijob
37     disabled: true
38     concurrent: true
39     node: geode-ubuntu1804
40
41     parameters:
42       - string:
43           name: PROJECT
44           default: '{project}'
45           description: JJB configured PROJECT parameter to identify a Nordix GitHub project
46       - string:
47           name: BRANCH
48           default: '{branch}'
49           description: JJB configured BRANCH parameter for Nordix GitHub project
50       - bool:
51           name: PUBLISH_GEODE
52           default: true
53           description: Publish Geode software to Nordix Artifactory after all tests are passed
54       - bool:
55           name: TEST_USING_DOCKER
56           default: '{test_using_docker}'
57           description: Geode versions prior to 1.15 were using a docker for executing parallel testing. Please set it to 'no' when building version 1.15 onwards.
58
59     properties:
60       - logrotate
61       - github:
62           url: 'https://github.com/Nordix/geode.git/'
63       - throttle:
64           max-per-node: 1
65           max-total: 3
66           option: project
67
68     wrappers:
69       - openstack:
70           single-use: True
71
72     scm:
73       - git-scm-github:
74           branch: '$BRANCH'
75           refspec: ''
76           wipe_workspace: true
77           clean_before: false
78           base_dir: 'geode'
79
80     triggers:
81       - github
82
83     builders:
84       - 'verify-geode-tag-macro'
85       - multijob:
86           name: SlaveSetup
87           condition: SUCCESSFUL
88           execution-type: SEQUENTIALLY
89           projects:
90             - name: 'apache-geode-SlaveSetup'
91               current-parameters: true
92               git-revision: false
93               abort-all-job: true
94               node-parameters: true
95       - multijob:
96           name: Test
97           condition: SUCCESSFUL
98           execution-type: SEQUENTIALLY
99           projects:
100             - name: 'apache-geode-UnitTest-jdk8'
101               current-parameters: true
102               git-revision: true
103               abort-all-job: true
104               node-parameters: true
105             - name: 'apache-geode-UnitTest-jdk11'
106               current-parameters: true
107               git-revision: true
108               abort-all-job: true
109               node-parameters: true
110 # Disable ApiCheck job as the ApiCheckTest was introduced
111 # in Geode 1.13 and it doesn't exist in geode 1.12
112 #            - name: 'apache-geode-ApiCheckTest-jdk11'
113 #              current-parameters: true
114 #              git-revision: true
115 #              disabled: true
116 #              abort-all-job: true
117 #              node-parameters: true
118             - name: 'apache-geode-StressNewTest-jdk11'
119               current-parameters: true
120               git-revision: true
121               abort-all-job: true
122               node-parameters: true
123             - name: 'apache-geode-IntegrationTest-jdk11'
124               current-parameters: true
125               git-revision: true
126               abort-all-job: true
127               node-parameters: true
128             - name: 'apache-geode-AcceptanceTest-jdk11'
129               current-parameters: true
130               git-revision: true
131               abort-all-job: true
132               node-parameters: true
133             - name: 'apache-geode-UpgradeTest-jdk11'
134               current-parameters: true
135               git-revision: true
136               abort-all-job: true
137               node-parameters: true
138             - name: 'apache-geode-DistributedTest-jdk11'
139               current-parameters: true
140               git-revision: true
141               abort-all-job: true
142               node-parameters: true
143       - multijob:
144           name: Build&Release
145           condition: SUCCESSFUL
146           execution-type: SEQUENTIALLY
147           projects:
148             - name: 'apache-geode-build-release-jdk8'
149               current-parameters: true
150               git-revision: true
151               abort-all-job: true
152               node-parameters: true
153               enable-condition: "$PUBLISH_GEODE == true"
154
155     publishers:
156       - notify-slack:
157           slack-channel: '#geode-ci'
158           notify-start: true
159           notify-success: true
160           notify-failure: true
161           notify-back-to-normal: true