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}'
36 name: 'csit-verify-tox-{stream}'
38 project-type: freestyle
41 archive-artifacts: '*.log'
46 daysToKeep: '{build-days-to-keep}'
47 numToKeep: '{build-num-to-keep}'
48 artifactDaysToKeep: '{build-artifact-days-to-keep}'
49 artifactNumToKeep: '{build-artifact-num-to-keep}'
56 - gerrit-refspec-parameter
58 name: ARCHIVE_ARTIFACTS
59 default: '{archive-artifacts}'
60 description: Artifacts to archive to the logs server.
64 credentials-id: 'jenkins-gerrit-credentials'
65 refspec: '$GERRIT_REFSPEC'
66 choosing-strategy: 'gerrit'
69 - fdio-infra-wrappers:
70 build-timeout: '{build-timeout}'
73 # Tox trigger is special.
75 server-name: 'Primary'
77 - patchset-created-event:
78 exclude-drafts: 'true'
79 exclude-trivial-rebase: 'false'
80 exclude-no-code-change: 'false'
81 # Not enabling on draft published event.
82 # Frequently, people publish for public access, not fr verify.
83 # Use recheck comment to trigger verify.
84 - comment-added-contains-event:
85 comment-contains-value: 'recheck'
86 - comment-added-contains-event:
87 comment-contains-value: 'reverify'
89 - project-compare-type: 'ANT'
90 project-pattern: '{project}'
92 - branch-compare-type: 'ANT'
93 branch-pattern: '**/{branch}'
95 gerrit-build-notbuilt-verified-value: 0
96 gerrit-build-successful-verified-value: 1
97 failed-message: 'Tox failed. No further verify jobs will be started.'
98 successful-message: 'tox_success'
108 - ../scripts/setup_executor_env.sh
111 - ../scripts/csit/tox.sh
114 # TODO: Remove this when a voting pylint difference checker
115 # with nice enough output is implemented.
121 pattern: 'pylint.log'
122 - fdio-infra-shiplogs:
123 maven-version: 'mvn33-new'