blob: 8653a74e62380c3b44c81c571ced0e9762a30257 [file] [log] [blame]
robert.tomczyk5fe5de72019-07-22 20:48:58 +01001---
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.tomczyk0c8e2ec2019-07-25 16:50:20 +010021 name: 'apache-geode-build-release-jdk{java-build-version}'
robert.tomczyk5fe5de72019-07-22 20:48:58 +010022
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.tomczyk0c8e2ec2019-07-25 16:50:20 +010031 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.tomczyk5fe5de72019-07-22 20:48:58 +010037
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.tomczykc8dcf1c2019-07-25 20:30:29 +010083 publishers:
84 - notify-slack:
robert.tomczykcfdc0de2019-11-15 12:44:11 +000085 slack-channel: '#geode-ci'
robert.tomczykc8dcf1c2019-07-25 20:30:29 +010086 notify-start: true
87 notify-success: true
88 notify-failure: true
89 notify-back-to-normal: true