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: |
| 25 | - 'develop': |
| 26 | branch: 'develop' |
| 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 |
| 48 | default: '6' |
| 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: |
| 76 | - multijob: |
| 77 | name: SlaveSetup |
| 78 | condition: SUCCESSFUL |
| 79 | execution-type: SEQUENTIALLY |
| 80 | projects: |
| 81 | - name: 'apache-geode-native-SlaveSetup' |
| 82 | current-parameters: true |
| 83 | git-revision: false |
| 84 | abort-all-job: true |
| 85 | node-parameters: true |
| 86 | - multijob: |
robert.tomczyk | 2eac1f4 | 2019-11-14 09:25:33 +0000 | [diff] [blame^] | 87 | name: Verification |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 88 | condition: SUCCESSFUL |
robert.tomczyk | 2eac1f4 | 2019-11-14 09:25:33 +0000 | [diff] [blame^] | 89 | execution-type: PARALLEL |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 90 | projects: |
| 91 | - name: 'apache-geode-native-RatCheck' |
| 92 | current-parameters: true |
| 93 | git-revision: true |
| 94 | abort-all-job: true |
| 95 | node-parameters: true |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 96 | - name: 'apache-geode-native-UnitTest' |
| 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-IntegrationTest' |
| 102 | current-parameters: true |
| 103 | git-revision: true |
| 104 | abort-all-job: true |
| 105 | node-parameters: true |
robert.tomczyk | 2eac1f4 | 2019-11-14 09:25:33 +0000 | [diff] [blame^] | 106 | - name: 'apache-geode-native-NewIntegrationTest' |
| 107 | current-parameters: true |
| 108 | git-revision: true |
| 109 | abort-all-job: true |
| 110 | node-parameters: true |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 111 | # - multijob: |
robert.tomczyk | 2eac1f4 | 2019-11-14 09:25:33 +0000 | [diff] [blame^] | 112 | # name: Release |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 113 | # condition: SUCCESSFUL |
| 114 | # execution-type: SEQUENTIALLY |
| 115 | # projects: |
robert.tomczyk | 2eac1f4 | 2019-11-14 09:25:33 +0000 | [diff] [blame^] | 116 | # - name: 'apache-geode-native-SrcRelease' |
robert.tomczyk | e791f67 | 2019-11-12 12:49:17 +0000 | [diff] [blame] | 117 | # current-parameters: true |
| 118 | # git-revision: true |
| 119 | # abort-all-job: true |
| 120 | # node-parameters: true |
| 121 | |
| 122 | # publishers: |
| 123 | # - notify-slack: |
| 124 | # slack-channel: '#geode' |
| 125 | # notify-start: true |
| 126 | # notify-success: true |
| 127 | # notify-failure: true |
| 128 | # notify-back-to-normal: true |