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'
43 - 'nordix-nsm-meridio-verify-static-analysis-{stream}'
44 - 'nordix-nsm-meridio-{image-name}-verify-build-{stream}'
47 name: 'nordix-nsm-meridio-verify-static-analysis-{stream}'
49 disabled: '{obj:disabled}'
53 node: nordix-nsm-build-ubuntu1804
57 url: https://github.com/Nordix/Meridio
61 name: GITHUB_ORGANIZATION
63 description: JJB configured parameter to identify GitHub Organization
67 description: JJB configured PROJECT parameter to identify a Nordix GitHub project
71 url: 'https://github.com/$GITHUB_ORGANIZATION/$PROJECT.git'
74 refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
77 choosing-strategy: 'default'
81 - github-pull-request:
87 auth-id: '{ghprb-auth-id}'
90 trigger-phrase: '/reverify'
91 only-trigger-phrase: false
93 status-context: 'Nordix Jenkins Static Analysis'
97 !include-raw: ./scripts/static-analysis.sh
100 name: 'nordix-nsm-meridio-{image-name}-verify-build-{stream}'
102 disabled: '{obj:disabled}'
106 node: nordix-nsm-build-ubuntu1804
110 url: https://github.com/Nordix/Meridio
114 name: GITHUB_ORGANIZATION
116 description: JJB configured parameter to identify GitHub Organization
120 description: JJB configured PROJECT parameter to identify a Nordix GitHub project
123 default: '{image-name}'
124 description: Meridio image to verify build
128 description: Meridio image version to build with
131 default: 'registry.nordix.org/cloud-native/$PROJECT'
132 description: Meridio image version to build with
136 description: Steps to run during build
140 url: 'https://github.com/$GITHUB_ORGANIZATION/$PROJECT.git'
143 refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
146 choosing-strategy: 'default'
150 - github-pull-request:
156 auth-id: '{ghprb-auth-id}'
159 trigger-phrase: '/reverify'
160 only-trigger-phrase: false
162 status-context: 'Nordix Jenkins Image Build: {image-name}'
167 - nordixinfra-harbor-creds-wrapper
172 !include-raw: ./scripts/build.sh
174 # vim: set ts=2 sw=2 expandtab: