Create periodic build job for eiffel-playground project
[infra/cicd.git] / jjb / eiffel / global-eiffel-container-build.yaml
1 ---
2 # ============LICENSE_START=======================================================
3 #  Copyright (C) 2020 Nordix Foundation.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #      http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #
17 # SPDX-License-Identifier: Apache-2.0
18 # ============LICENSE_END=========================================================
19
20 - job-template:
21     name: '{project-name}-build-{distro}-{stream}-periodic'
22
23     node: 'eiffel-build-{distro}'
24
25     disabled: false
26
27     concurrent: false
28
29     properties:
30       - logrotate
31
32     parameters:
33       - project-parameters:
34           project: '{project}'
35           branch: '{branch}'
36       - eiffel-parameters
37
38     scm:
39       - git-scm-github:
40           branch: '$BRANCH'
41           refspec: ''
42           wipe_workspace: true
43           clean_before: false
44           base_dir: '$WORKSPACE'
45
46     triggers:
47       - pollscm:
48           cron: "H 0,8,16 * * *"
49
50     wrappers:
51       - build-timeout:
52           timeout: 10
53
54     builders:
55       - shell:
56           !include-raw-escape: ./scripts/eiffel-container-build-tag-push.sh
57
58 # vim: set ts=2 sw=2 expandtab: