Add a job to run the app-activate-all STC scenario

Change-Id: I232199b28fbeb9e99f090c9d75163db7acccbeb7
diff --git a/jjb/onos/onos-run-app-activate-all-stc.sh b/jjb/onos/onos-run-app-activate-all-stc.sh
new file mode 100644
index 0000000..e9777c2
--- /dev/null
+++ b/jjb/onos/onos-run-app-activate-all-stc.sh
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+# exit on errors
+set -eu -o pipefail
+
+# initialize build environment
+ONOS_ROOT=`pwd`
+. tools/build/envDefaults
+
+# initialize development environment for STC
+export JAVA_HOME=
+. tools/dev/bash_profile
+
+PATH=$PATH:/home/jenkins/bin
+
+# always free the cell when exiting
+function cleanup {
+  cell return jenkins-app-all-${ONOS_VERSION}
+}
+
+trap cleanup EXIT
+
+# grab a cell to run on
+cell borrow 30 1+1 jenkins-app-all-${ONOS_VERSION}
+
+# build onos bits
+bazel build onos
+
+# set up STC parameters
+topo default
+export stcDumpLogs="true"
+export stcColor="false"
+export stcHaltOnError="false"
+export TERM="vt100"
+
+# run STC
+stc setup && stc app-activate-all 
diff --git a/jjb/onos/onos-verify.yaml b/jjb/onos/onos-verify.yaml
index 5047946..baef79d 100644
--- a/jjb/onos/onos-verify.yaml
+++ b/jjb/onos/onos-verify.yaml
@@ -617,6 +617,19 @@
 
 
 - job-template:
+    name: 'onos-{stream}-stc-app-activate-all'
+
+    <<: *job_boiler_plate
+    # yamllint disable-line rule:key-duplicates
+    <<: *hourly_boiler_plate
+
+    builders:
+    #put shell scripts in file then make sure shell check is installed on verify vms
+      - shell: !include-raw-escape: install-bazel.sh
+      - shell: !include-raw-escape: onos-run-app-activate-all-stc.sh
+
+
+- job-template:
     name: 'onos-{stream}-stc-hag-verify'
 
     <<: *job_boiler_plate
@@ -935,3 +948,17 @@
 
     jobs:
       - 'onos-{stream}-bazel-stc-trellis-p4-verify'
+
+- project:
+    name: onos-stc-app-activate-all-verify
+    project-name: onos-stc-app-activate-all-verify
+    project: onos
+
+    build-timeout: '30'
+    build-node: 'ubuntu16.04-basebuild-8c-15g'
+
+    stream:
+      - 'master'
+      
+    jobs:
+      - 'onos-{stream}-stc-app-activate-all'