+---
- project:
name: csit-hc2vpp
description: 'jenkins jobs to verify Hc2vpp functional and performance tests.'
jobs:
- - 'csit-hc2vpp-verify-func-{os}'
- - 'csit-hc2vpp-verify-perf'
+ - 'csit-hc2vpp-verify-func-{stream}-{os}'
+ - 'csit-hc2vpp-verify-perf-{stream}'
project: 'csit'
branch: 'master'
build-artifact-num-to-keep: 10
-
- os:
- - ubuntu1604:
- repo-os-part: 'ubuntu.xenial.main'
+ os: 'ubuntu1604'
+ repo-os-part: 'ubuntu.xenial.main'
+
+ stream:
+ - master:
+ branch: 'master'
+ - '1801':
+ branch: 'rls1801'
+ - '1804':
+ branch: 'rls1804'
+ - '1807':
+ branch: 'rls1807'
+ - '1810':
+ branch: 'rls1810'
+ branch-id: 'oper-rls1810'
- job-template:
- name: 'csit-hc2vpp-verify-func-{os}'
+ name: 'csit-hc2vpp-verify-func-{stream}-{os}'
project-type: freestyle
node: '{os}-basebuild-4c-4g'
concurrent: true
- logrotate:
+ build-discarder:
daysToKeep: '{build-days-to-keep}'
numToKeep: '{build-num-to-keep}'
artifactDaysToKeep: '{build-artifact-days-to-keep}'
- os-parameter:
os: '{os}'
- stream-parameter:
- stream: 'master'
+ stream: '{stream}'
+ - gerrit-parameter:
+ branch: '{branch}'
scm:
- gerrit-trigger-scm:
build-timeout: '{build-timeout}'
triggers:
- - gerrit:
- server-name: 'Primary'
- trigger-on:
- - comment-added-contains-event:
- comment-contains-value: 'verify-hc2vpp-func'
- projects:
- - project-compare-type: 'ANT'
- project-pattern: '{project}'
- branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/{branch}'
+ - gerrit-trigger-manually-triggered:
+ comment-trigger-value: 'verify-hc2vpp-func'
+ name: '{project}'
+ branch: '{branch}'
builders:
- shell:
publishers:
- archive-artifacts:
- artifacts: 'csit/report.html, csit/log.html, csit/output.xml, csit/honeycomb.log'
+ artifacts: 'archive/*.*'
latest-only: false
+
- email-notification:
email-prefix: '[csit]'
+
- robot-report:
- output-path: 'csit'
+ output-path: 'archive'
+
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'
- job-template:
- name: 'csit-hc2vpp-verify-perf'
+ name: 'csit-hc2vpp-verify-perf-{stream}'
project-type: freestyle
node: 'ubuntu1604-basebuild-4c-4g'
concurrent: false
- logrotate:
+ build-discarder:
daysToKeep: '{build-days-to-keep}'
numToKeep: '{build-num-to-keep}'
artifactDaysToKeep: '{build-artifact-days-to-keep}'
- os-parameter:
os: '{os}'
- stream-parameter:
- stream: 'master'
+ stream: '{stream}'
+ - gerrit-parameter:
+ branch: '{branch}'
scm:
- gerrit-trigger-scm:
build-timeout: '{build-timeout}'
triggers:
- - gerrit:
- server-name: 'Primary'
- trigger-on:
- - comment-added-contains-event:
- comment-contains-value: 'verify-hc2vpp-perf'
-
- projects:
- - project-compare-type: 'ANT'
- project-pattern: '{project}'
- branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/{branch}'
+ - gerrit-trigger-manually-triggered:
+ comment-trigger-value: 'verify-hc2vpp-perf'
+ name: '{project}'
+ branch: '{branch}'
builders:
- shell:
artifacts: 'archive/*.*'
latest-only: false
+ - email-notification:
+ email-prefix: '[csit]'
+
- robot-report:
output-path: 'archive'