Rule for onos-loxi
Change-Id: Ie2e19d950041e8d16dfbea25f90ec09113e5ae03
diff --git a/jjb/onos/onos-loxi-verify.sh b/jjb/onos/onos-loxi-verify.sh
new file mode 100755
index 0000000..827e6cf
--- /dev/null
+++ b/jjb/onos/onos-loxi-verify.sh
@@ -0,0 +1,3 @@
+#!/bin/bash -ex
+
+make clean check-java
diff --git a/jjb/onos/onos-verify.yaml b/jjb/onos/onos-verify.yaml
index d0e76b6..ed67914 100644
--- a/jjb/onos/onos-verify.yaml
+++ b/jjb/onos/onos-verify.yaml
@@ -202,6 +202,26 @@
#put shell scripts in file then make sure shell check is installed on verify vms
- shell: !include-raw-escape: onos-app-samples-verify.sh
+# workaround for lack of parameter expansion support in shell: (see above)
+- job-template:
+ #default name is global
+ name: 'onos-loxi-{stream}-verify'
+
+ # Job template for Java verify jobs
+ #
+ # The purpose of this job templte is to run "maven clean install" for
+ # projects using this template.
+ #
+ # Required Variables:
+ # branch: git branch (eg. master)
+
+ <<: *job_boiler_plate
+ # yamllint disable-line rule:key-duplicates
+ <<: *verify_boiler_plate
+
+ builders:
+ #put shell scripts in file then make sure shell check is installed on verify vms
+ - shell: !include-raw-escape: onos-loxi-verify.sh
# workaround for lack of parameter expansion support in shell: (see above)
- job-template:
@@ -359,7 +379,19 @@
jobs:
- 'onos-app-samples-{stream}-verify'
+- project:
+ name: onos-loxi
+ project-name: onos-loxi
+ project: onos-loxi
+ build-timeout: '1800'
+ build-node: 'ubuntu16.04-basebuild-8c-15g'
+
+ stream:
+ - 'master'
+
+ jobs:
+ - 'onos-loxi-{stream}-verify'
- project:
name: onos-release