robert.tomczyk | 5fe5de7 | 2019-07-22 20:48:58 +0100 | [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 | - job-template: |
robert.tomczyk | 0c8e2ec | 2019-07-25 16:50:20 +0100 | [diff] [blame] | 21 | name: 'apache-geode-build-release-jdk{java-build-version}' |
robert.tomczyk | 5fe5de7 | 2019-07-22 20:48:58 +0100 | [diff] [blame] | 22 | |
| 23 | node: geode-ubuntu1804 |
| 24 | disabled: false |
| 25 | concurrent: true |
| 26 | |
| 27 | properties: |
| 28 | - logrotate |
| 29 | - github: |
| 30 | url: 'https://github.com/Nordix/geode.git/' |
robert.tomczyk | 0c8e2ec | 2019-07-25 16:50:20 +0100 | [diff] [blame] | 31 | wrappers: |
| 32 | - credentials-binding: |
| 33 | - username-password-separated: |
| 34 | credential-id: infra-nordix-artifactory-api-key |
| 35 | username: ARTIFACTORY_USER |
| 36 | password: ARTIFACTORY_API_KEY |
robert.tomczyk | 5fe5de7 | 2019-07-22 20:48:58 +0100 | [diff] [blame] | 37 | |
| 38 | parameters: |
| 39 | - string: |
| 40 | name: PROJECT |
| 41 | default: 'Nordix/geode' |
| 42 | description: JJB configured PROJECT parameter to identify a Nordix GitHub project |
| 43 | - string: |
| 44 | name: BRANCH |
| 45 | default: 'release-nordix/1.9.0' |
| 46 | description: JJB configured BRANCH parameter for Nordix GitHub project |
| 47 | - string: |
| 48 | name: ARTIFACT_SLUG |
| 49 | default: '{artifact-slug}' |
| 50 | description: 'The geode artifact required' |
| 51 | - string: |
| 52 | name: GRADLE_TASK |
| 53 | default: '{gradle-task}' |
| 54 | description: 'Single atomic piece of work for a build, such as compiling classes or generating javadoc' |
| 55 | - string: |
| 56 | name: PARALLEL_GRADLE |
| 57 | default: '{parallel-gradle}' |
| 58 | description: 'Parallel execution of gradle tasks' |
| 59 | - string: |
| 60 | name: PARALLEL_DUNIT |
| 61 | default: '{parallel-dunit}' |
| 62 | description: 'Parallel test execution using docker images' |
| 63 | - string: |
| 64 | name: DUNIT_PARALLEL_FORKS |
| 65 | default: '{dunit-parallel-forks}' |
| 66 | description: 'Control how many concurrent dunit (using docker) tests will be run' |
| 67 | - string: |
| 68 | name: JAVA_BUILD_VERSION |
| 69 | default: '{java-build-version}' |
| 70 | description: 'Java version use to build geode' |
| 71 | |
| 72 | scm: |
| 73 | - git-scm-github: |
| 74 | branch: '$BRANCH' |
| 75 | refspec: '' |
| 76 | wipe_workspace: true |
| 77 | clean_before: false |
| 78 | base_dir: 'geode' |
| 79 | |
| 80 | builders: |
| 81 | - '{build-executor}' |
| 82 | |
robert.tomczyk | c8dcf1c | 2019-07-25 20:30:29 +0100 | [diff] [blame] | 83 | publishers: |
| 84 | - notify-slack: |
robert.tomczyk | cfdc0de | 2019-11-15 12:44:11 +0000 | [diff] [blame] | 85 | slack-channel: '#geode-ci' |
robert.tomczyk | c8dcf1c | 2019-07-25 20:30:29 +0100 | [diff] [blame] | 86 | notify-start: true |
| 87 | notify-success: true |
| 88 | notify-failure: true |
| 89 | notify-back-to-normal: true |