robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 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-native-verify' |
| 22 | project: 'Nordix/geode-native' |
| 23 | |
| 24 | stream: |
robert.tomczyk | 58a24dd | 2019-11-14 13:43:46 +0000 | [diff] [blame] | 25 | - 'release-nordix-1.10.0': |
| 26 | branch: 'release-nordix/1.10.0' |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 27 | 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 |
robert.tomczyk | 2eac1f4 | 2019-11-14 09:25:33 +0000 | [diff] [blame] | 35 | node: geode-ubuntu1804 |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 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 | - string: |
| 47 | name: JOBS |
robert.tomczyk | 58a24dd | 2019-11-14 13:43:46 +0000 | [diff] [blame] | 48 | default: '24' |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 49 | description: JJB configured JOBS parameter. Specifies the number of make jobs to run simultaneously while building geode-native |
| 50 | - string: |
| 51 | name: GEODE_NATIVE_DOCKER_IMAGE |
| 52 | default: 'apachegeode/geode-native-build' |
| 53 | description: JJB configured name of the geode-native build docker image based on Ubuntu 18.04 |
| 54 | |
| 55 | properties: |
| 56 | - logrotate |
| 57 | - github: |
| 58 | url: 'https://github.com/Nordix/geode-native.git/' |
| 59 | - throttle: |
| 60 | max-per-node: 1 |
| 61 | max-total: 3 |
| 62 | option: project |
| 63 | |
| 64 | scm: |
| 65 | - git-scm-github: |
| 66 | branch: '{branch}' |
| 67 | refspec: '' |
| 68 | wipe_workspace: true |
| 69 | clean_before: false |
| 70 | base_dir: 'geode-native' |
| 71 | |
| 72 | triggers: |
| 73 | - github |
| 74 | |
| 75 | builders: |
robert.tomczyk | 58a24dd | 2019-11-14 13:43:46 +0000 | [diff] [blame] | 76 | - 'verify-geode-tag-macro' |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 77 | - multijob: |
| 78 | name: SlaveSetup |
| 79 | condition: SUCCESSFUL |
| 80 | execution-type: SEQUENTIALLY |
| 81 | projects: |
| 82 | - name: 'apache-geode-native-SlaveSetup' |
| 83 | current-parameters: true |
| 84 | git-revision: false |
| 85 | abort-all-job: true |
| 86 | node-parameters: true |
| 87 | - multijob: |
robert.tomczyk | 2eac1f4 | 2019-11-14 09:25:33 +0000 | [diff] [blame] | 88 | name: Verification |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 89 | condition: SUCCESSFUL |
robert.tomczyk | 2eac1f4 | 2019-11-14 09:25:33 +0000 | [diff] [blame] | 90 | execution-type: PARALLEL |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 91 | projects: |
| 92 | - name: 'apache-geode-native-RatCheck' |
| 93 | current-parameters: true |
| 94 | git-revision: true |
| 95 | abort-all-job: true |
| 96 | node-parameters: true |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 97 | - name: 'apache-geode-native-UnitTest' |
| 98 | current-parameters: true |
| 99 | git-revision: true |
| 100 | abort-all-job: true |
| 101 | node-parameters: true |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 102 | - name: 'apache-geode-native-IntegrationTest' |
| 103 | current-parameters: true |
| 104 | git-revision: true |
| 105 | abort-all-job: true |
| 106 | node-parameters: true |
robert.tomczyk | 2eac1f4 | 2019-11-14 09:25:33 +0000 | [diff] [blame] | 107 | - name: 'apache-geode-native-NewIntegrationTest' |
| 108 | current-parameters: true |
| 109 | git-revision: true |
| 110 | abort-all-job: true |
| 111 | node-parameters: true |
robert.tomczyk | 58a24dd | 2019-11-14 13:43:46 +0000 | [diff] [blame] | 112 | - multijob: |
| 113 | name: Release |
| 114 | condition: SUCCESSFUL |
| 115 | execution-type: SEQUENTIALLY |
| 116 | projects: |
| 117 | - name: 'apache-geode-native-SrcRelease' |
| 118 | current-parameters: true |
| 119 | git-revision: true |
| 120 | abort-all-job: true |
| 121 | node-parameters: true |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 122 | |
robert.tomczyk | 58a24dd | 2019-11-14 13:43:46 +0000 | [diff] [blame] | 123 | publishers: |
| 124 | - notify-slack: |
robert.tomczyk | cfdc0de | 2019-11-15 12:44:11 +0000 | [diff] [blame^] | 125 | slack-channel: '#geode-ci' |
robert.tomczyk | 58a24dd | 2019-11-14 13:43:46 +0000 | [diff] [blame] | 126 | notify-start: true |
| 127 | notify-success: true |
| 128 | notify-failure: true |
| 129 | notify-back-to-normal: true |