GEODE: Update geode job with:
[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.12.0':
26           branch: 'release-nordix/1.12.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             - name: 'apache-geode-ApiCheckTest-jdk11'
103               current-parameters: true
104               git-revision: true
105               abort-all-job: true
106               node-parameters: true
107             - name: 'apache-geode-StressNewTest-jdk11'
108               current-parameters: true
109               git-revision: true
110               abort-all-job: true
111               node-parameters: true
112             - name: 'apache-geode-IntegrationTest-jdk11'
113               current-parameters: true
114               git-revision: true
115               abort-all-job: true
116               node-parameters: true
117             - name: 'apache-geode-AcceptanceTest-jdk11'
118               current-parameters: true
119               git-revision: true
120               abort-all-job: true
121               node-parameters: true
122             - name: 'apache-geode-UpgradeTest-jdk11'
123               current-parameters: true
124               git-revision: true
125               abort-all-job: true
126               node-parameters: true
127             - name: 'apache-geode-DistributedTest-jdk11'
128               current-parameters: true
129               git-revision: true
130               abort-all-job: true
131               node-parameters: true
132       - multijob:
133           name: Build&Release
134           condition: SUCCESSFUL
135           execution-type: SEQUENTIALLY
136           projects:
137             - name: 'apache-geode-build-release-jdk8'
138               current-parameters: true
139               git-revision: true
140               abort-all-job: true
141               node-parameters: true
142               enable-condition: "$PUBLISH_GEODE == true"
143
144     publishers:
145       - notify-slack:
146           slack-channel: '#geode-ci'
147           notify-start: true
148           notify-success: true
149           notify-failure: true
150           notify-back-to-normal: true