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 |
robert.tomczyk | 2e5ab32 | 2023-03-29 10:36:53 +0100 | [diff] [blame] | 33 | disabled: true |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 34 | concurrent: true |
afenner | b209999 | 2022-11-10 15:07:13 +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 |
robert.tomczyk | fbca16b | 2019-12-18 13:36:10 +0000 | [diff] [blame] | 46 | - bool: |
| 47 | name: PUBLISH_GEODE |
| 48 | default: true |
| 49 | description: Publish Geode software to Nordix Artifactory after all tests are passed |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 50 | - string: |
| 51 | name: JOBS |
robert.tomczyk | 58a24dd | 2019-11-14 13:43:46 +0000 | [diff] [blame] | 52 | default: '24' |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 53 | 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.tomczyk | fbca16b | 2019-12-18 13:36:10 +0000 | [diff] [blame] | 70 | branch: '$BRANCH' |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 71 | refspec: '' |
| 72 | wipe_workspace: true |
| 73 | clean_before: false |
| 74 | base_dir: 'geode-native' |
| 75 | |
| 76 | triggers: |
| 77 | - github |
| 78 | |
| 79 | builders: |
robert.tomczyk | 58a24dd | 2019-11-14 13:43:46 +0000 | [diff] [blame] | 80 | - 'verify-geode-tag-macro' |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 81 | - 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.tomczyk | 2eac1f4 | 2019-11-14 09:25:33 +0000 | [diff] [blame] | 92 | name: Verification |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 93 | condition: SUCCESSFUL |
robert.tomczyk | 2eac1f4 | 2019-11-14 09:25:33 +0000 | [diff] [blame] | 94 | execution-type: PARALLEL |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 95 | 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.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 101 | - name: 'apache-geode-native-UnitTest' |
| 102 | current-parameters: true |
| 103 | git-revision: true |
| 104 | abort-all-job: true |
| 105 | node-parameters: true |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 106 | - name: 'apache-geode-native-IntegrationTest' |
| 107 | current-parameters: true |
| 108 | git-revision: true |
| 109 | abort-all-job: true |
| 110 | node-parameters: true |
robert.tomczyk | 2eac1f4 | 2019-11-14 09:25:33 +0000 | [diff] [blame] | 111 | - name: 'apache-geode-native-NewIntegrationTest' |
| 112 | current-parameters: true |
| 113 | git-revision: true |
| 114 | abort-all-job: true |
| 115 | node-parameters: true |
robert.tomczyk | 58a24dd | 2019-11-14 13:43:46 +0000 | [diff] [blame] | 116 | - 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.tomczyk | fbca16b | 2019-12-18 13:36:10 +0000 | [diff] [blame] | 126 | enable-condition: "$PUBLISH_GEODE == true" |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 127 | |
robert.tomczyk | 58a24dd | 2019-11-14 13:43:46 +0000 | [diff] [blame] | 128 | publishers: |
| 129 | - notify-slack: |
robert.tomczyk | cfdc0de | 2019-11-15 12:44:11 +0000 | [diff] [blame] | 130 | slack-channel: '#geode-ci' |
robert.tomczyk | 58a24dd | 2019-11-14 13:43:46 +0000 | [diff] [blame] | 131 | notify-start: true |
| 132 | notify-success: true |
| 133 | notify-failure: true |
afenner | b209999 | 2022-11-10 15:07:13 +0000 | [diff] [blame] | 134 | notify-back-to-normal: true |