Rule for onos-app-samples
Change-Id: I6c559489617aac6c6cfb75ef6737f29eb7f79e1b
diff --git a/jjb/onos/onos-app-samples-verify.sh b/jjb/onos/onos-app-samples-verify.sh
new file mode 100755
index 0000000..c81596c
--- /dev/null
+++ b/jjb/onos/onos-app-samples-verify.sh
@@ -0,0 +1,3 @@
+#!/bin/bash -ex
+
+mvn clean install
diff --git a/jjb/onos/onos-verify.yaml b/jjb/onos/onos-verify.yaml
index 17ea966..d0e76b6 100644
--- a/jjb/onos/onos-verify.yaml
+++ b/jjb/onos/onos-verify.yaml
@@ -184,6 +184,28 @@
# workaround for lack of parameter expansion support in shell: (see above)
- job-template:
#default name is global
+ name: 'onos-app-samples-{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-app-samples-verify.sh
+
+
+# workaround for lack of parameter expansion support in shell: (see above)
+- job-template:
+ #default name is global
name: 'onos-gui-{stream}-verify'
# Job template for Java verify jobs
@@ -324,6 +346,22 @@
- 'onos-yang-tools-{stream}-verify'
- project:
+ name: onos-app-samples
+ project-name: onos-app-samples
+ project: onos-app-samples
+
+ build-timeout: '1800'
+ build-node: 'ubuntu16.04-basebuild-8c-15g'
+
+ stream:
+ - 'master'
+
+ jobs:
+ - 'onos-app-samples-{stream}-verify'
+
+
+
+- project:
name: onos-release
project-name: onos-release
project: onos