# Copyright (c) 2019 Cisco and/or its affiliates. # Copyright (c) 2019 PANTHEON.tech s.r.o. and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. --- - project: name: csit-func description: 'CSIT Functinal Testing Jenkins jobs.' os: - 'ubuntu1604' - 'centos7' jobs: - 'csit-vpp-verify-{stream_timed}-{os}-weekly' - 'csit-vpp-verify-{stream_timed}-{os}-semiweekly' - 'csit-vpp-functional-{stream}-{os}-virl' - 'csit-nsh_sfc-verify-func-{stream}-{os}-virl' - 'csit-tldk-verify-func-{stream}-{os}-virl' - 'csit-dmm-functional-{stream}-ubuntu1604-virl' project: 'csit' branch: 'master' branch-id: 'oper' build-artifact-num-to-keep: 10 stream_timed: - master: branch: 'master' branch-id: 'oper' stream: - master: branch: 'master' - '1901': branch: 'rls1901' - '1904': branch: 'rls1904' - '1908_1': branch: 'rls1908_1' - job-template: name: 'csit-vpp-verify-{stream_timed}-{os}-weekly' # yamllint disable-line rule:line-length description: 'Purpose of this job is to validate CSIT code of corresponding branch against verified vpp build from corresponding branch.' # yamllint enable rule:line-length project-type: freestyle node: '{os}-basebuild-4c-4g' concurrent: false archive-artifacts: > **/csit/report.html **/csit/log.html **/csit/output.xml latest-only: false build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - project-parameter: project: '{project}' - gerrit-parameter: branch: '{branch}' - string: name: ARCHIVE_ARTIFACTS default: '{archive-artifacts}' description: Artifacts to archive to the logs server. scm: - git-scm: credentials-id: 'jenkins-gerrit-credentials' branch: '{branch}' wrappers: - fdio-infra-wrappers-non-activity-timeout: build-timeout: '{build-timeout}' triggers: - timed: '0 4 * * 0' - gerrit-trigger-manually-triggered: comment-trigger-value: 'csit-vpp-ref-verify' name: '{project}' branch: '{branch}' builders: - shell: !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-weekly.sh publishers: - robot-report: output-path: '' - fdio-infra-shiplogs: maven-version: 'mvn33-new' - job-template: name: 'csit-vpp-verify-{stream_timed}-{os}-semiweekly' # yamllint disable-line rule:line-length description: 'Purpose of this job is to validate latest vpp build from corresponding branch stored in nexus against verified CSIT codebase of corresponding branch.' # yamllint enable rule:line-length project-type: freestyle node: '{os}-basebuild-4c-4g' concurrent: false archive-artifacts: 'csit/archive/*.*' latest-only: false build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - project-parameter: project: '{project}' - gerrit-parameter: branch: '{branch}' - string: name: ARCHIVE_ARTIFACTS default: '{archive-artifacts}' description: Artifacts to archive to the logs server. wrappers: - fdio-infra-wrappers-non-activity-timeout: build-timeout: '{build-timeout}' triggers: - timed: '0 4 * * 2,6' - gerrit-trigger-manually-triggered: comment-trigger-value: 'csit-verify-vpp' name: '{project}' branch: '{branch}' builders: - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop' - inject: properties-file: variables.prop - shell: # yamllint disable-line rule:line-length !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh # yamllint enable rule:line-length publishers: - robot-report: output-path: 'csit/archive' - fdio-infra-shiplogs: maven-version: 'mvn33-new' - job-template: name: 'csit-vpp-functional-{stream}-{os}-virl' project-type: freestyle node: '{os}-basebuild-4c-4g' concurrent: true archive-artifacts: > **/csit/report.html **/csit/log.html **/csit/output.xml latest-only: false build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - project-parameter: project: '{project}' - gerrit-parameter: branch: '{branch}' - string: name: ARCHIVE_ARTIFACTS default: '{archive-artifacts}' description: Artifacts to archive to the logs server. # This is an automatic verify job, part of API coverage. # CRC checking is needed to ensure vpp crc job breaks only when intended. # Can be removed when this job is no longer needed for full API coverage. - csit-fail-on-crc-mismatch-parameter: fail-on-crc-mismatch: 'True' scm: - gerrit-trigger-scm: credentials-id: 'jenkins-gerrit-credentials' refspec: '$GERRIT_REFSPEC' choosing-strategy: 'gerrit' wrappers: - fdio-infra-wrappers: build-timeout: '{build-timeout}' triggers: - gerrit-trigger-manually-triggered: name: '{project}' branch: '{branch}' comment-trigger-value: 'csit-virltest' builders: - shell: !include-raw-escape: include-raw-csit-vpp-functional-virl.sh publishers: - robot-report: output-path: '' - fdio-infra-shiplogs: maven-version: 'mvn33-new' - job-template: name: 'csit-nsh_sfc-verify-func-{stream}-{os}-virl' project-type: freestyle node: '{os}-basebuild-4c-4g' concurrent: true archive-artifacts: 'archive/*.*' latest-only: false build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - project-parameter: project: '{project}' - gerrit-parameter: branch: '{branch}' - os-parameter: os: '{os}' - stream-parameter: stream: '{stream}' - string: name: ARCHIVE_ARTIFACTS default: '{archive-artifacts}' description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: credentials-id: 'jenkins-gerrit-credentials' refspec: '$GERRIT_REFSPEC' choosing-strategy: 'gerrit' wrappers: - fdio-infra-wrappers: build-timeout: '{build-timeout}' triggers: - gerrit-trigger-manually-triggered: name: '{project}' branch: '{branch}' comment-trigger-value: 'csit_nsh_sfc_func_{stream}' builders: - shell: !include-raw-escape: include-raw-csit-nsh_sfc-functional-virl.sh publishers: - robot-report: output-path: 'archive' - fdio-infra-shiplogs: maven-version: 'mvn33-new' - job-template: name: 'csit-tldk-verify-func-{stream}-{os}-virl' project-type: freestyle node: '{os}-basebuild-4c-4g' concurrent: true archive-artifacts: 'archive/*.*' latest-only: false build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - project-parameter: project: '{project}' - gerrit-parameter: branch: '{branch}' - os-parameter: os: '{os}' - string: name: ARCHIVE_ARTIFACTS default: '{archive-artifacts}' description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: credentials-id: 'jenkins-gerrit-credentials' refspec: '$GERRIT_REFSPEC' choosing-strategy: 'gerrit' wrappers: - fdio-infra-wrappers: build-timeout: '{build-timeout}' triggers: - gerrit-trigger-manually-triggered: name: '{project}' branch: '{branch}' comment-trigger-value: 'csit_verify_tldk_func' builders: - shell: !include-raw-escape: include-raw-csit-tldk-functional-virl.sh publishers: - robot-report: output-path: 'archive' - fdio-infra-shiplogs: maven-version: 'mvn33-new' - job-template: name: 'csit-dmm-functional-{stream}-ubuntu1604-virl' project-type: freestyle node: 'ubuntu1604-basebuild-4c-4g' concurrent: true archive-artifacts: 'archive/*.*' latest-only: false build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - project-parameter: project: '{project}' - gerrit-parameter: branch: '{branch}' - string: name: ARCHIVE_ARTIFACTS default: '{archive-artifacts}' description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: credentials-id: 'jenkins-gerrit-credentials' refspec: '$GERRIT_REFSPEC' choosing-strategy: 'gerrit' wrappers: - fdio-infra-wrappers: build-timeout: '{build-timeout}' triggers: - gerrit-trigger-manually-triggered: name: '{project}' branch: '{branch}' comment-trigger-value: 'csit_verify_dmm_func' builders: - shell: !include-raw-escape: include-raw-csit-dmm-functional-virl.sh publishers: - robot-report: output-path: '' - fdio-infra-shiplogs: maven-version: 'mvn33-new'