2 # ============LICENSE_START=======================================================
3 # Copyright (C) 2019 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
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,
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.
17 # SPDX-License-Identifier: Apache-2.0
18 # ============LICENSE_END=========================================================
21 name: 'cloud-infra-lint'
23 project: 'infra/engine'
36 - 'cloud-infra-verify-engine-{lint-type}-{stream}'
39 name: 'cloud-infra-verify-engine-{lint-type}-{stream}'
41 disabled: '{obj:disabled}'
45 node: infra-tools-docker-slave-ubuntu1804
51 - nordix-gerrit-parameters
54 default: '{lint-type}'
55 description: 'Lint type to run'
63 - fix-workspace-permissions
67 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
69 refspec: $GERRIT_REFSPEC
75 server-name: 'Nordix Gerrit'
77 - patchset-created-event:
78 exclude-drafts: 'false'
79 exclude-trivial-rebase: 'false'
80 exclude-no-code-change: 'false'
81 - draft-published-event
82 - comment-added-contains-event:
83 comment-contains-value: 'recheck'
84 - comment-added-contains-event:
85 comment-contains-value: 'reverify'
87 - project-compare-type: 'REG_EXP'
88 project-pattern: 'infra\/engine'
90 - branch-compare-type: 'ANT'
91 branch-pattern: '**/{branch}'
95 custom-url: '* $JOB_NAME $BUILD_URL'
98 - 'cloud-infra-lint-macro'
100 # vim: set ts=2 sw=2 expandtab: