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=========================================================
28 gated-projects: 'infra/stack/onap|infra/installer/oom'
31 gated-projects: 'infra/stack/onap|infra/installer/oom'
34 gated-projects: 'infra/stack/onap|infra/installer/oom'
37 gated-projects: 'infra/stack/onap|infra/installer/oom'
51 - 'onap-verify-tox-{stream}'
52 - 'onap-verify-{lint-type}-{stream}'
55 name: 'onap-verify-tox-{stream}'
57 project-type: multijob
61 node: infra-tools-docker-slave-ubuntu1804
65 project: $GERRIT_PROJECT
67 description: 'The project and branch which the change is proposed for'
71 description: 'Verbosity setting for the tox script'
72 - nordix-gerrit-parameters
76 # NOTE (fdegir): throttle categories are controlled in jenkins global configuration
88 - fix-workspace-permissions
92 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
93 branch: $GERRIT_BRANCH
94 refspec: $GERRIT_REFSPEC
100 server-name: 'Nordix Gerrit'
102 - patchset-created-event:
103 exclude-drafts: 'false'
104 exclude-trivial-rebase: 'false'
105 exclude-no-code-change: 'false'
106 - draft-published-event
107 - comment-added-contains-event:
108 comment-contains-value: 'recheck'
109 - comment-added-contains-event:
110 comment-contains-value: 'reverify'
112 - project-compare-type: 'REG_EXP'
113 project-pattern: '{gated-projects}'
115 - branch-compare-type: 'ANT'
116 branch-pattern: '**/{branch}'
117 disable-strict-forbidden-file-verification: 'false'
118 forbidden-file-paths:
120 pattern: '.gitignore|.gitreview|.yamllint|README.md|bindep.txt|setup.cfg|setup.py'
121 custom-url: '* $JOB_NAME $BUILD_URL'
122 readable-message: 'true'
126 name: Static Analysis
128 execution-type: PARALLEL
130 - name: 'onap-verify-ansible-lint-{stream}'
131 current-parameters: true
134 - name: 'onap-verify-shellcheck-{stream}'
135 current-parameters: true
138 - name: 'onap-verify-yamllint-{stream}'
139 current-parameters: true
144 name: 'onap-verify-{lint-type}-{stream}'
146 disabled: '{obj:disabled}'
150 node: infra-tools-docker-slave-ubuntu1804
155 default: '{lint-type}'
156 description: 'Lint type to run'
158 name: REPOS_TO_IGNORE
159 default: '{repos-to-ignore}'
160 description: 'Repos to ignore for the specific lint type'
168 - fix-workspace-permissions
172 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
173 branch: $GERRIT_BRANCH
174 refspec: $GERRIT_REFSPEC
181 # vim: set ts=2 sw=2 expandtab: