+---
# Copyright (c) 2019 Cisco 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.
- master:
branch: 'master'
branch-id: 'oper'
- - '1901':
- branch: 'rls1901'
- branch-id: 'oper-rls1901'
+ - '1904':
+ branch: 'rls1904'
+ branch-id: 'oper-rls1904'
stream:
- master:
branch: 'master'
- '1901':
branch: 'rls1901'
branch-id: 'oper-rls1901'
+ - '1904':
+ branch: 'rls1904'
+ branch-id: 'oper-rls1904'
- job-template:
name: 'csit-vpp-device-{stream}-{os}-{topo}-{arch}'
project-type: freestyle
node: 'vpp-csit-device'
concurrent: true
+ archive-artifacts: 'archive/*.*'
+ latest-only: false
build-discarder:
daysToKeep: '{build-days-to-keep}'
- gerrit-refspec-parameter
- gerrit-event-type-parameter
- gerrit-event-comment-text-parameter
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: '{archive-artifacts}'
+ description: Artifacts to archive to the logs server.
scm:
- gerrit-trigger-scm:
!include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
publishers:
- - archive-artifacts:
- artifacts: 'archive/*.*'
- latest-only: false
- robot:
output-path: archive
other-files:
project-type: freestyle
node: 'vpp-csit-device'
concurrent: false
+ archive-artifacts: 'csit/archive/*.*'
+ latest-only: false
build-discarder:
daysToKeep: '{build-days-to-keep}'
branch: '{branch}'
- os-parameter:
os: '{os}'
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: '{archive-artifacts}'
+ description: Artifacts to archive to the logs server.
wrappers:
- fdio-infra-wrappers-non-activity-timeout:
branch: '{branch}'
builders:
+ - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
+ - inject:
+ properties-file: variables.prop
- shell:
!include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
publishers:
- - archive-artifacts:
- artifacts: 'csit/archive/*.*'
- latest-only: false
- robot:
output-path: 'csit/archive'
other-files:
project-type: freestyle
node: 'vpp-csit-device'
concurrent: false
+ archive-artifacts: 'archive/*.*'
+ latest-only: false
build-discarder:
daysToKeep: '{build-days-to-keep}'
branch: '{branch}'
- os-parameter:
os: '{os}'
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: '{archive-artifacts}'
+ description: Artifacts to archive to the logs server.
scm:
- git-scm:
!include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
publishers:
- - archive-artifacts:
- artifacts: 'archive/*.*'
- latest-only: false
- robot:
output-path: archive
other-files: