Add GUI verification job

Change-Id: Ia1a78ffe5e38190e14f23a92b8165abcc3d8b783
diff --git a/jjb/onos/onos-gui-verify.sh b/jjb/onos/onos-gui-verify.sh
new file mode 100644
index 0000000..f81e25a
--- /dev/null
+++ b/jjb/onos/onos-gui-verify.sh
@@ -0,0 +1,5 @@
+#!/bin/bash -ex
+ONOS_ROOT=`pwd`
+. tools/build/envDefaults
+
+cd web/gui/src/main/webapp && npm install && npm run test
diff --git a/jjb/onos/onos-verify.yaml b/jjb/onos/onos-verify.yaml
index 945364a..d6d021a 100644
--- a/jjb/onos/onos-verify.yaml
+++ b/jjb/onos/onos-verify.yaml
@@ -116,6 +116,27 @@
     #put shell scripts in file then make sure shell check is installed on verify vms
       - shell: !include-raw-escape: onos-yang-tools-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
+    #
+    # 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-gui-verify.sh
+
 
 - project:
     name: onos
@@ -134,6 +155,22 @@
       - '{project-name}-{stream}-verify'
 
 - project:
+    name: onos-gui
+    project-name: onos-gui
+    project: onos-gui
+
+    build-timeout: '1800'
+    build-node: 'ubuntu16.04-basebuild-8c-15g'
+
+    stream:
+      - 'master'
+      - 'onos-1.10'
+      - 'onos-1.11'
+
+    jobs:
+      - 'onos-gui-{stream}-verify'
+
+- project:
     name: onos-yang-tools
     project-name: onos-yang-tools
     project: onos-yang-tools