Build stratum as part of p4 trellis scenario
Change-Id: I62b90cd5de182761be4f5bb8f412b9266292d1fd
diff --git a/jjb/onos/onos-run-bazel-stc-trellis-p4.sh b/jjb/onos/onos-run-bazel-stc-trellis-p4.sh
index 7597d3a..954c653 100644
--- a/jjb/onos/onos-run-bazel-stc-trellis-p4.sh
+++ b/jjb/onos/onos-run-bazel-stc-trellis-p4.sh
@@ -20,12 +20,12 @@
trap cleanup EXIT
-# grab a cell to run on
-cell borrow 30 3+1 jenkins-trellis-p4-${ONOS_VERSION}
-
# build onos bits
bazel build onos
+# grab a cell to run on
+cell borrow 30 3+1 jenkins-trellis-p4-${ONOS_VERSION}
+
# set up STC parameters
topo default
export stcDumpLogs="true"
@@ -33,5 +33,10 @@
export stcHaltOnError="false"
export TERM="vt100"
+# build stratum on the network node
+tools/test/bin/stratum-stc-build-side
+scp tools/test/bin/stratum-stc-cell-side sdn@$OCN:/tmp
+ssh -tt sdn@$OCN "/tmp/stratum-stc-cell-side"
+
# run STC
stc setup && stc net-trellis-p4-smoke