summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
Diffstat (limited to 'jjb')
-rw-r--r--jjb/global-macros.yaml8
-rw-r--r--jjb/vpp/include-raw-vpp-build.sh12
-rw-r--r--jjb/vpp/vpp.yaml10
3 files changed, 24 insertions, 6 deletions
diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml
index 8e7878b5e..6dc0e0fcb 100644
--- a/jjb/global-macros.yaml
+++ b/jjb/global-macros.yaml
@@ -26,6 +26,14 @@
description: "GERRIT_PROJECT parameter if not given by trigger"
- parameter:
+ name: os-parameter
+ parameters:
+ - string:
+ name: OS
+ default: '{os}'
+ description: "OS parameter"
+
+- parameter:
name: gerrit-refspec-parameter
parameters:
- string:
diff --git a/jjb/vpp/include-raw-vpp-build.sh b/jjb/vpp/include-raw-vpp-build.sh
index f3cb320bd..fa5336ecc 100644
--- a/jjb/vpp/include-raw-vpp-build.sh
+++ b/jjb/vpp/include-raw-vpp-build.sh
@@ -10,6 +10,12 @@ if [ -d $CCACHE_DIR ];then
else
echo $CCACHE_DIR does not exist. This must be a new slave.
fi
-cd build-root/
-./bootstrap.sh
-make PLATFORM=vpp V=0 TAG=vpp install-deb
+
+if [ ${OS} == "ubuntu1404" ]; then
+ cd build-root/
+ ./bootstrap.sh
+ make PLATFORM=vpp V=0 TAG=vpp install-deb
+else
+ echo "Unrecognized OS: ${OS}. Please edit: https://gerrit.fd.io/r/gitweb?p=ci-management.git;a=blob;f=jjb/vpp/include-raw-vpp-build.sh;h=f3cb320bd9a2515eab0c4564c927764c9dad417d;hb=HEAD"
+ exit 1
+fi \ No newline at end of file
diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml
index a9cf43de4..4f90957ef 100644
--- a/jjb/vpp/vpp.yaml
+++ b/jjb/vpp/vpp.yaml
@@ -1,22 +1,24 @@
- project:
name: vpp
jobs:
- - 'vpp-verify'
+ - 'vpp-verify-{branch}-{os}'
- 'vpp-merge'
- 'vpp-csit-verify-virl'
- 'vpp-verify-performance-{type}'
project: 'vpp'
+ os:
+ - ubuntu1404
branch: 'master'
type:
- short
- long
- job-template:
- name: vpp-verify
+ name: 'vpp-verify-{branch}-{os}'
project-type: freestyle
- node: verify
+ node: 'verify-{os}'
concurrent: true
logrotate:
@@ -30,6 +32,8 @@
project: '{project}'
- gerrit-parameter:
branch: '{branch}'
+ - os-parameter:
+ os: '{os}'
scm:
- gerrit-trigger-scm: