1 # Copyright (c) 2021 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
6 # http://www.apache.org/licenses/LICENSE-2.0
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
17 description: 'CSIT jenkins jobs.'
21 executor-arch: 'x86_64'
25 executor-arch: 'aarch64'
28 - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
29 - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-semiweekly':
36 branch-id: 'oper-rls2009_lts'
39 branch-id: 'oper-rls2101'
40 - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-weekly':
47 branch-id: 'oper-rls2009_lts'
50 branch-id: 'oper-rls2101'
61 branch-id: 'oper-rls2009'
64 branch-id: 'oper-rls2009_lts'
67 branch-id: 'oper-rls2101'
70 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
72 project-type: freestyle
73 node: 'csit-builder-{os}-prod-{executor-arch}'
75 archive-artifacts: 'archive/*.*'
79 daysToKeep: '{build-days-to-keep}'
80 numToKeep: '{build-num-to-keep}'
81 artifactDaysToKeep: '{build-artifact-days-to-keep}'
82 artifactNumToKeep: '{build-artifact-num-to-keep}'
91 - gerrit-refspec-parameter
92 - gerrit-event-type-parameter
93 - gerrit-event-comment-text-parameter
95 name: ARCHIVE_ARTIFACTS
96 default: '{archive-artifacts}'
97 description: Artifacts to archive to the logs server.
98 # This is an automatic verify job, part of API coverage.
99 # CRC checking is needed to ensure vpp crc job breaks only when intended.
100 # Unlikely to be removed, as this job is primary source of API coverage.
101 - csit-fail-on-crc-mismatch-parameter:
102 fail-on-crc-mismatch: 'True'
105 - gerrit-trigger-scm:
106 credentials-id: 'jenkins-gerrit-credentials'
107 refspec: '$GERRIT_REFSPEC'
108 choosing-strategy: 'gerrit'
111 - fdio-infra-wrappers:
112 build-timeout: '{build-timeout}'
115 - gerrit-trigger-csit-vpp-devicetest-full:
118 skip-vote: '{skip-vote}'
123 - ../scripts/setup_executor_env.sh
126 - ../scripts/csit/device-verify.sh
130 output-path: 'archives'
133 - fdio-infra-shiplogs:
134 maven-version: 'mvn33-new'
137 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-semiweekly'
139 project-type: freestyle
140 node: 'csit-builder-{os}-prod-{executor-arch}'
142 archive-artifacts: 'csit/archive/*.*'
146 daysToKeep: '{build-days-to-keep}'
147 numToKeep: '{build-num-to-keep}'
148 artifactDaysToKeep: '{build-artifact-days-to-keep}'
149 artifactNumToKeep: '{build-artifact-num-to-keep}'
159 name: ARCHIVE_ARTIFACTS
160 default: '{archive-artifacts}'
161 description: Artifacts to archive to the logs server.
164 - fdio-infra-wrappers-non-activity-timeout:
165 build-timeout: '{build-timeout}'
168 - timed: '0 4 * * 2,6'
170 - gerrit-trigger-manually-triggered:
171 comment-trigger-value: 'csit-verify-vpp'
176 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
178 properties-file: variables.prop
181 - ../scripts/setup_executor_env.sh
184 - ../scripts/csit/device-semiweekly.sh
188 output-path: 'archives'
191 - fdio-infra-shiplogs:
192 maven-version: 'mvn33-new'
195 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-weekly'
197 project-type: freestyle
198 node: 'csit-builder-{os}-prod-{executor-arch}'
200 archive-artifacts: 'archive/*.*'
204 daysToKeep: '{build-days-to-keep}'
205 numToKeep: '{build-num-to-keep}'
206 artifactDaysToKeep: '{build-artifact-days-to-keep}'
207 artifactNumToKeep: '{build-artifact-num-to-keep}'
217 name: ARCHIVE_ARTIFACTS
218 default: '{archive-artifacts}'
219 description: Artifacts to archive to the logs server.
223 credentials-id: 'jenkins-gerrit-credentials'
227 - fdio-infra-wrappers-non-activity-timeout:
228 build-timeout: '{build-timeout}'
233 - gerrit-trigger-manually-triggered:
234 comment-trigger-value: 'csit-vpp-ref-verify'
241 - ../scripts/setup_executor_env.sh
244 - ../scripts/csit/device-verify.sh
248 output-path: 'archives'
251 - fdio-infra-shiplogs:
252 maven-version: 'mvn33-new'