3 # Copyright (c) 2019 Red Hat. All rights reserved.
5 # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 # not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 # 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.
18 id: kni-installer-build-installer
19 name: '{project-name}-build-installer'
21 ######################
22 # Default parameters #
23 ######################
25 build-days-to-keep: 30
27 submodule-recursive: true
33 project-type: freestyle
37 - lf-infra-properties:
38 build-days-to-keep: '{build-days-to-keep}'
41 - lf-infra-parameters:
45 lftools-version: '{lftools-version}'
49 build-timeout: '{build-timeout}'
50 jenkins-ssh-credential: '{jenkins-ssh-credential}'
52 gerrit_merge_triggers:
54 - comment-added-contains-event:
55 comment-contains-value: remerge$
58 - lf-infra-gerrit-scm:
59 jenkins-ssh-credential: '{jenkins-ssh-credential}'
60 git-url: '{git-url}/{project}.git'
61 refspec: '$GERRIT_REFSPEC'
62 branch: '$GERRIT_BRANCH'
63 submodule-recursive: '{submodule-recursive}'
64 submodule-timeout: '{submodule-timeout}'
65 choosing-strategy: default
69 server-name: '{gerrit-server-name}'
71 - patchset-created-event:
72 exclude-drafts: 'false'
73 exclude-trivial-rebase: 'false'
74 exclude-no-code-change: 'false'
76 - comment-added-contains-event:
77 comment-contains-value: 'recheck'
78 - comment-added-contains-event:
79 comment-contains-value: 'reverify'
83 - shell: !include-raw-escape:
84 - ../shell/install_go.sh
85 - shell: !include-raw-escape:
86 - ../shell/build_kni_installer.sh