2 # ============LICENSE_START=======================================================
3 # Copyright (C) 2021 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: 'nsm-meridio-verify'
23 project: 'nsm-meridio-verify'
27 branch: '${{ghprbActualCommit}}'
29 # NOTE (fdegir): auth-id is taken from Jenkins Global Configuration
30 # by clicking Auth ID button for the desired GitHub Server API URL
31 # Please ensure you are looking at GitHub Pull Request Builder part
32 # of global configuration and not to GitHub Server configuration
33 ghprb-auth-id: 'cdfd2452-a9e2-41a3-8ee6-9058512b4aff'
44 - 'nordix-nsm-meridio-verify-static-analysis-{stream}'
45 - 'nordix-nsm-meridio-{image-name}-verify-build-{stream}'
48 name: 'nordix-nsm-meridio-verify-static-analysis-{stream}'
50 disabled: '{obj:disabled}'
54 node: nordix-nsm-build-ubuntu1804
58 url: https://github.com/Nordix/Meridio
62 name: GITHUB_ORGANIZATION
64 description: JJB configured parameter to identify GitHub Organization
68 description: JJB configured PROJECT parameter to identify a Nordix GitHub project
72 url: 'https://github.com/$GITHUB_ORGANIZATION/$PROJECT.git'
75 refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
78 choosing-strategy: 'default'
82 - github-pull-request:
88 auth-id: '{ghprb-auth-id}'
91 trigger-phrase: '/reverify'
92 only-trigger-phrase: false
94 status-context: 'Nordix Jenkins Static Analysis'
98 !include-raw: ./scripts/static-analysis.sh
101 name: 'nordix-nsm-meridio-{image-name}-verify-build-{stream}'
103 disabled: '{obj:disabled}'
107 node: nordix-nsm-build-ubuntu1804
111 url: https://github.com/Nordix/Meridio
115 name: GITHUB_ORGANIZATION
117 description: JJB configured parameter to identify GitHub Organization
121 description: JJB configured PROJECT parameter to identify a Nordix GitHub project
124 default: '{image-name}'
125 description: Meridio image to verify build
129 description: Meridio image version to build with
132 default: 'registry.nordix.org/cloud-native/$PROJECT'
133 description: Meridio image version to build with
137 description: Steps to run during build
141 url: 'https://github.com/$GITHUB_ORGANIZATION/$PROJECT.git'
144 refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
147 choosing-strategy: 'default'
151 - github-pull-request:
157 auth-id: '{ghprb-auth-id}'
160 trigger-phrase: '/reverify'
161 only-trigger-phrase: false
163 status-context: 'Nordix Jenkins Image Build: {image-name}'
168 - nordixinfra-harbor-creds-wrapper
173 !include-raw: ./scripts/build.sh
175 # vim: set ts=2 sw=2 expandtab: