2 #########################################################################
4 # Copyright (c) 2019 Intel and/or its affiliates.
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.
16 #########################################################################
21 - 'vsap-verify-{stream}-{os}-{mode}'
22 - 'vsap-merge-{stream}-{os}-{mode}'
27 repo-os-part: 'ubuntu.bionic.main'
31 repo-stream-part: 'stable.2005'
45 name: 'vsap-verify-{stream}-{os}-{mode}'
47 project-type: freestyle
52 daysToKeep: '{build-days-to-keep}'
54 artifactDaysToKeep: '{build-artifact-days-to-keep}'
55 artifactNumToKeep: '{build-artifact-num-to-keep}'
62 - gerrit-refspec-parameter
65 - repo-name-parameter:
66 repo-name: '{repo-stream-part}.{repo-os-part}.{repo-mode-part}'
72 name: ARCHIVE_ARTIFACTS
73 default: '{archive-artifacts}'
74 description: Artifacts to archive to the logs server.
77 - gerrit-trigger-scm-recursive:
78 credentials-id: 'jenkins-gerrit-credentials'
79 refspec: '$GERRIT_REFSPEC'
80 choosing-strategy: 'gerrit'
81 submodule-recursive: true
86 - fdio-infra-wrappers:
90 - gerrit-trigger-patch-submitted:
97 - include-raw-vsap-build.sh
100 - fdio-infra-shiplogs:
101 maven-version: 'mvn36'
104 name: 'vsap-merge-{stream}-{os}-{mode}'
106 project-type: freestyle
110 daysToKeep: '{build-days-to-keep}'
112 artifactDaysToKeep: '{build-artifact-days-to-keep}'
113 artifactNumToKeep: '{build-artifact-num-to-keep}'
120 - gerrit-refspec-parameter
127 - repo-name-parameter:
128 repo-name: '{repo-stream-part}.{repo-os-part}.{repo-mode-part}'
130 name: ARCHIVE_ARTIFACTS
131 default: '{archive-artifacts}'
132 description: Artifacts to archive to the logs server.
135 - gerrit-trigger-scm-recursive:
136 credentials-id: 'jenkins-gerrit-credentials'
137 refspec: '$GERRIT_REFSPEC'
138 choosing-strategy: 'gerrit'
139 submodule-recursive: true
144 - fdio-infra-wrappers:
145 build-timeout: '{build-timeout}'
148 - gerrit-trigger-patch-merged:
153 - config-file-provider:
155 - file-id: '.packagecloud'
157 - config-file-provider:
159 - file-id: 'packagecloud_api'
163 - include-raw-vsap-build.sh
166 - ../scripts/packagecloud_push.sh
169 - fdio-infra-shiplogs:
170 maven-version: 'mvn36'
176 - gerrit-info-yaml-verify
177 build-node: centos7-builder-2c-2g
185 mvn-settings: vsap-settings
187 sonarcloud-project-organization: '{sonarcloud_project_organization}'
188 sonarcloud-api-token: '{sonarcloud_api_token}'
189 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
191 build-node: centos7-docker-4c-4g