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
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======================================================
19 # this job gets triggered when a change is proposed to cicd/jjb
20 # the change is verified using jenkins-jobs tox test command
21 # result will be send to Gerrit in the form of Verified +1 or -1
24 name: infra-jjb-verify
36 - infra-verify-cicd-jjb-{stream}
37 - infra-verify-cicd-{lint-type}-{stream}
41 name: infra-verify-cicd-jjb-{stream}
42 project-type: multijob
43 node: infra-tools-docker-slave-ubuntu1804
51 description: 'The project and branch which the change is proposed for'
55 description: 'Verbosity setting for the lint script'
56 - nordix-gerrit-parameters
64 - fix-workspace-permissions
68 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
70 refspec: $GERRIT_REFSPEC
75 - nordix-gerrit-trigger-patchset-created:
87 name: JJB Static Analysis
89 execution-type: PARALLEL
91 - name: 'infra-verify-cicd-jjbtest-{stream}'
92 current-parameters: true
95 - name: 'infra-verify-cicd-shellcheck-{stream}'
96 current-parameters: true
99 - name: 'infra-verify-cicd-yamllint-{stream}'
100 current-parameters: true
105 name: 'infra-verify-cicd-{lint-type}-{stream}'
106 node: infra-tools-docker-slave-ubuntu1804
107 disabled: '{obj:disabled}'
113 default: '{lint-type}'
114 description: 'Lint type to run'
122 - fix-workspace-permissions
126 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
127 branch: refs/heads/$GERRIT_BRANCH
128 refspec: $GERRIT_REFSPEC
134 !include-raw-escape: ./lint.sh
136 # vim: set ts=2 sw=2 ft=yaml expandtab: