summaryrefslogtreecommitdiffstats
path: root/jjb/csit/csit-vpp-device.yaml
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-10-10 12:36:05 +0000
committerPeter Mikus <pmikus@cisco.com>2018-10-15 12:07:22 +0000
commit91cfd7c256c6439424710a3f7b060e44a86aef81 (patch)
tree0c31e27dc50164503638eccdd9322e7af3a81655 /jjb/csit/csit-vpp-device.yaml
parent21ac893f606f196626890d9efedb18ae5913dc9b (diff)
CSIT-1306 Add vpp-device verify job
Change-Id: Iab58d58cc7c7212961abff5a986d7321f63c6cab Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'jjb/csit/csit-vpp-device.yaml')
-rw-r--r--jjb/csit/csit-vpp-device.yaml131
1 files changed, 131 insertions, 0 deletions
diff --git a/jjb/csit/csit-vpp-device.yaml b/jjb/csit/csit-vpp-device.yaml
new file mode 100644
index 000000000..b3d7f798f
--- /dev/null
+++ b/jjb/csit/csit-vpp-device.yaml
@@ -0,0 +1,131 @@
+# Copyright (c) 2018 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.
+# 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-vpp-device
+ description: 'CSIT jenkins jobs.'
+ os:
+ - 'ubuntu1804'
+ topo:
+ - '1n'
+ arch:
+ - 'skx'
+ jobs:
+ - 'csit-vpp-device-{stream}-{os}-{topo}-{arch}'
+ project: 'csit'
+ branch: 'master'
+ branch-id: 'oper'
+ stream:
+ - master:
+ branch: 'master'
+ branch-id: 'oper'
+ - '1810':
+ branch: 'rls1810'
+ branch-id: 'oper-rls1810'
+
+- job-template:
+ name: 'csit-vpp-device-{stream}-{os}-{topo}-{arch}'
+ description: |
+ <ul>
+ <li>objective
+ <ul>
+ <li>vpp-device verify - per csit gerrit patch
+ </ul>
+ <li>job
+ <ul>
+ <li>name: <b>csit-vpp-device-{stream}-{os}-{topo}-{arch}</b>
+ <li>trigger: keyword in comment to csit patch:
+ <b>csit-devicetest tag_list</b>
+ </ul>
+ <li>test-cases selection
+ <ul>
+ <li>test-cases selected using trigger keyword followed by tags
+ <li>all test-cases are labelled with CSIT RF topic tags
+ defined in <i>csit/docs/tag_documentation.rst</i>
+ </ul>
+ <li>default tags for vpp-device test type
+ <ul>
+ <li>devicetest
+ </ul>
+ <li>results
+ <ul>
+ <li>jjb verify: PASS/FAIL
+ <li>present: no
+ <li>analyse: no
+ </ul>
+ </ul>
+
+ project-type: freestyle
+ node: 'foo'
+ concurrent: true
+
+ 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}'
+ - gerrit-refspec-parameter
+ - gerrit-event-type-parameter
+ - gerrit-event-comment-text-parameter
+
+ 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:
+ server-name: 'Primary'
+ trigger-on:
+ - comment-added-contains-event:
+ comment-contains-value: 'csit-devicetest'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '{project}'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ skip-vote:
+ successful: true
+ failed: true
+ unstable: true
+ notbuilt: true
+
+ builders:
+ - shell:
+ !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:
+ - '*.*'
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'