blob: 1abd311c417b7a50d9b91421ac6f0e8df2c1dad2 [file] [log] [blame]
robert.tomczyke791f672019-11-12 12:49:17 +00001---
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-native-verify'
22 project: 'Nordix/geode-native'
23
24 stream:
robert.tomczyk58a24dd2019-11-14 13:43:46 +000025 - 'release-nordix-1.10.0':
26 branch: 'release-nordix/1.10.0'
robert.tomczyke791f672019-11-12 12:49:17 +000027 jobs:
28 - 'apache-geode-native-{stream}-verify'
29
30- job-template:
31 name: 'apache-geode-native-{stream}-verify'
32 project-type: multijob
33 disabled: false
34 concurrent: true
afennerb2099992022-11-10 15:07:13 +000035 node: geode-ubuntu1804
robert.tomczyke791f672019-11-12 12:49:17 +000036
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
robert.tomczykfbca16b2019-12-18 13:36:10 +000046 - bool:
47 name: PUBLISH_GEODE
48 default: true
49 description: Publish Geode software to Nordix Artifactory after all tests are passed
robert.tomczyke791f672019-11-12 12:49:17 +000050 - string:
51 name: JOBS
robert.tomczyk58a24dd2019-11-14 13:43:46 +000052 default: '24'
robert.tomczyke791f672019-11-12 12:49:17 +000053 description: JJB configured JOBS parameter. Specifies the number of make jobs to run simultaneously while building geode-native
54 - string:
55 name: GEODE_NATIVE_DOCKER_IMAGE
56 default: 'apachegeode/geode-native-build'
57 description: JJB configured name of the geode-native build docker image based on Ubuntu 18.04
58
59 properties:
60 - logrotate
61 - github:
62 url: 'https://github.com/Nordix/geode-native.git/'
63 - throttle:
64 max-per-node: 1
65 max-total: 3
66 option: project
67
68 scm:
69 - git-scm-github:
robert.tomczykfbca16b2019-12-18 13:36:10 +000070 branch: '$BRANCH'
robert.tomczyke791f672019-11-12 12:49:17 +000071 refspec: ''
72 wipe_workspace: true
73 clean_before: false
74 base_dir: 'geode-native'
75
76 triggers:
77 - github
78
79 builders:
robert.tomczyk58a24dd2019-11-14 13:43:46 +000080 - 'verify-geode-tag-macro'
robert.tomczyke791f672019-11-12 12:49:17 +000081 - multijob:
82 name: SlaveSetup
83 condition: SUCCESSFUL
84 execution-type: SEQUENTIALLY
85 projects:
86 - name: 'apache-geode-native-SlaveSetup'
87 current-parameters: true
88 git-revision: false
89 abort-all-job: true
90 node-parameters: true
91 - multijob:
robert.tomczyk2eac1f42019-11-14 09:25:33 +000092 name: Verification
robert.tomczyke791f672019-11-12 12:49:17 +000093 condition: SUCCESSFUL
robert.tomczyk2eac1f42019-11-14 09:25:33 +000094 execution-type: PARALLEL
robert.tomczyke791f672019-11-12 12:49:17 +000095 projects:
96 - name: 'apache-geode-native-RatCheck'
97 current-parameters: true
98 git-revision: true
99 abort-all-job: true
100 node-parameters: true
robert.tomczyke791f672019-11-12 12:49:17 +0000101 - name: 'apache-geode-native-UnitTest'
102 current-parameters: true
103 git-revision: true
104 abort-all-job: true
105 node-parameters: true
robert.tomczyke791f672019-11-12 12:49:17 +0000106 - name: 'apache-geode-native-IntegrationTest'
107 current-parameters: true
108 git-revision: true
109 abort-all-job: true
110 node-parameters: true
robert.tomczyk2eac1f42019-11-14 09:25:33 +0000111 - name: 'apache-geode-native-NewIntegrationTest'
112 current-parameters: true
113 git-revision: true
114 abort-all-job: true
115 node-parameters: true
robert.tomczyk58a24dd2019-11-14 13:43:46 +0000116 - multijob:
117 name: Release
118 condition: SUCCESSFUL
119 execution-type: SEQUENTIALLY
120 projects:
121 - name: 'apache-geode-native-SrcRelease'
122 current-parameters: true
123 git-revision: true
124 abort-all-job: true
125 node-parameters: true
robert.tomczykfbca16b2019-12-18 13:36:10 +0000126 enable-condition: "$PUBLISH_GEODE == true"
robert.tomczyke791f672019-11-12 12:49:17 +0000127
robert.tomczyk58a24dd2019-11-14 13:43:46 +0000128 publishers:
129 - notify-slack:
robert.tomczykcfdc0de2019-11-15 12:44:11 +0000130 slack-channel: '#geode-ci'
robert.tomczyk58a24dd2019-11-14 13:43:46 +0000131 notify-start: true
132 notify-success: true
133 notify-failure: true
afennerb2099992022-11-10 15:07:13 +0000134 notify-back-to-normal: true