From a3eae6cc0e79ae2ccc4925a3325225dc9922c504 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Thu, 30 Jun 2016 12:44:04 +0200 Subject: Add Jenkins job to run Honeycomb tests JIRA: CSIT-185 Change-Id: Ib113f55e2ed6f3dbb42728abebcbd5107216fdb5 Signed-off-by: Tibor Frank --- jjb/csit/csit-vpp-honeycomb.yaml | 60 ++++++++++++++++++++++ .../include-raw-csit-honeycomb-functional-virl.sh | 15 ++++++ 2 files changed, 75 insertions(+) create mode 100644 jjb/csit/csit-vpp-honeycomb.yaml create mode 100644 jjb/csit/include-raw-csit-honeycomb-functional-virl.sh (limited to 'jjb') diff --git a/jjb/csit/csit-vpp-honeycomb.yaml b/jjb/csit/csit-vpp-honeycomb.yaml new file mode 100644 index 000000000..6d11904b6 --- /dev/null +++ b/jjb/csit/csit-vpp-honeycomb.yaml @@ -0,0 +1,60 @@ +- project: + name: csit-honeycomb + description: 'CSIT jenkins jobs to test Honeycomb features.' + jobs: + - 'csit-honeycomb-functional-{stream}-{os}' + project: 'csit' + branch: 'master' + branch-id: 'master' + build-artifact-num-to-keep: 10 + stream: + - master: + branch: 'master' + branch-id: 'master' + os: + - ubuntu1404 + +- job-template: + name: 'csit-honeycomb-functional-{stream}-{os}' + + project-type: freestyle + node: verify + concurrent: true + + logrotate: + 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}' + + wrappers: + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - build-result: + combine: false + groups: + - jobs: + - honeycomb-merge-{stream}-{os} + results: + - success + + builders: + - shell: + !include-raw-escape: include-raw-csit-honeycomb-functional-virl.sh + + publishers: + - archive-artifacts: + artifacts: 'report.html, log.html, output.xml' + latest-only: false + + - robot-report: + output-path: '' diff --git a/jjb/csit/include-raw-csit-honeycomb-functional-virl.sh b/jjb/csit/include-raw-csit-honeycomb-functional-virl.sh new file mode 100644 index 000000000..8c2fa9765 --- /dev/null +++ b/jjb/csit/include-raw-csit-honeycomb-functional-virl.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# execute csit bootstrap script if it exists +if [ ! -e bootstrap-vpp-honeycomb.sh ] +then + echo 'ERROR: No bootstrap-vpp-honeycomb.sh found' + exit 1 +else + # make sure that bootstrap.sh is executable + chmod +x bootstrap-vpp-honeycomb.sh + # run the script + ./bootstrap-vpp-honeycomb.sh +fi + +# vim: ts=4 ts=4 sts=4 et : -- cgit 1.2.3-korg