Use Nordix docker registry for geode-native jobs
[infra/cicd.git] / jjb / geode-native / global-template-apache-geode-native-test.yaml
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:
21     name: 'apache-geode-native-{test-type}'
22
23     node: geode-ubuntu2004
24     disabled: false
25     concurrent: true
26
27     properties:
28       - logrotate
29       - github:
30           url: 'https://github.com/Nordix/geode-native.git/'
31
32     parameters:
33       - string:
34           name: PROJECT
35           default: 'Nordix/geode-native'
36           description: JJB configured PROJECT parameter to identify a Nordix GitHub project
37       - string:
38           name: BRANCH
39           default: 'release-nordix/1.13.0'
40           description: JJB configured BRANCH parameter for Nordix GitHub project
41       - string:
42           name: JOBS
43           default: '24'
44           description: JJB configured JOBS parameter. Specifies the number of make jobs to run simultaneously while building geode-native
45       - string:
46           name: GEODE_NATIVE_DOCKER_IMAGE
47           default: 'registry.nordix.org/docker-hub-proxy/apachegeode/geode-native-build:1.13.2'
48           description: JJB configured name of the geode-native build docker image based on Ubuntu 20.04
49
50     scm:
51       - git-scm-github:
52           branch: '$BRANCH'
53           refspec: ''
54           wipe_workspace: true
55           clean_before: false
56           base_dir: 'geode-native'
57
58     builders:
59       - '{build-executor}'
60
61     publishers:
62       - workspace-cleanup:
63           clean-if:
64             - failure: false
65       - notify-slack:
66           slack-channel: '#geode-ci'
67           notify-start: true
68           notify-success: true
69           notify-failure: true
70           notify-back-to-normal: true