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.
19 - 'csit-verify-tox-{stream}-{os}-{executor-arch}'
24 executor-arch: 'x86_64'
36 name: 'csit-verify-tox-{stream}-{os}-{executor-arch}'
38 project-type: freestyle
39 node: 'builder-{os}-prod-{executor-arch}'
44 daysToKeep: '{build-days-to-keep}'
45 numToKeep: '{build-num-to-keep}'
46 artifactDaysToKeep: '{build-artifact-days-to-keep}'
47 artifactNumToKeep: '{build-artifact-num-to-keep}'
54 - gerrit-refspec-parameter
58 credentials-id: 'jenkins-gerrit-credentials'
59 refspec: '$GERRIT_REFSPEC'
60 choosing-strategy: 'gerrit'
63 - fdio-infra-wrappers:
64 build-timeout: '{build-timeout}'
67 # Tox trigger is special.
69 server-name: 'Primary'
71 - patchset-created-event:
72 exclude-drafts: 'true'
73 exclude-trivial-rebase: 'false'
74 exclude-no-code-change: 'false'
75 # Not enabling on draft published event.
76 # Frequently, people publish for public access, not fr verify.
77 # Use recheck comment to trigger verify.
78 - comment-added-contains-event:
79 comment-contains-value: 'recheck'
80 - comment-added-contains-event:
81 comment-contains-value: 'reverify'
83 - project-compare-type: 'ANT'
84 project-pattern: '{project}'
86 - branch-compare-type: 'ANT'
87 branch-pattern: '**/{branch}'
89 gerrit-build-notbuilt-verified-value: 0
90 gerrit-build-successful-verified-value: 1
91 failed-message: 'Tox failed. No further verify jobs will be started.'
92 successful-message: 'tox_success'
102 - ../scripts/setup_executor_env.sh
105 - ../scripts/csit/tox.sh