diff options
author | 2016-06-30 12:44:04 +0200 | |
---|---|---|
committer | 2016-07-04 10:36:29 +0000 | |
commit | a3eae6cc0e79ae2ccc4925a3325225dc9922c504 (patch) | |
tree | ea7c600b3630bad1c6cae912ef7c1aa481d8ffea /jjb/csit | |
parent | d1b08030ea1c1a6074e2361fc6ae79db0767ff49 (diff) |
Add Jenkins job to run Honeycomb tests
JIRA: CSIT-185
Change-Id: Ib113f55e2ed6f3dbb42728abebcbd5107216fdb5
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'jjb/csit')
-rw-r--r-- | jjb/csit/csit-vpp-honeycomb.yaml | 60 | ||||
-rw-r--r-- | jjb/csit/include-raw-csit-honeycomb-functional-virl.sh | 15 |
2 files changed, 75 insertions, 0 deletions
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 : |