summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorC.J. Collier <cjcollier@linuxfoundation.org>2016-07-04 13:32:36 +0000
committerGerrit Code Review <gerrit@fd.io>2016-07-04 13:32:36 +0000
commit5e613589c64695a0f28ef9862b026b19ca74a2ab (patch)
tree0816b02eff3dd79f8f11ac1f5374073c79aa1fc7
parentbad7b73fce1dc8f6b5b69caad4b8ca5bb9992f31 (diff)
parenta3eae6cc0e79ae2ccc4925a3325225dc9922c504 (diff)
Merge "Add Jenkins job to run Honeycomb tests"
-rw-r--r--jjb/csit/csit-vpp-honeycomb.yaml60
-rw-r--r--jjb/csit/include-raw-csit-honeycomb-functional-virl.sh15
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 :