Add logparser rules for mininet-test

Change-Id: I41f1b423d9b197114173bbfee260f68f56a9b46a
diff --git a/jobs.yaml b/jobs.yaml
index 87e53c1..2a0a1b3 100644
--- a/jobs.yaml
+++ b/jobs.yaml
@@ -54,6 +54,11 @@
             description: "$dir defaults to last build when using Build Now."
     builders:
       - shell: "echo $dir; ~mininet/mininet/util/vm/build.py -v --test core --image $dir/*/*.vmdk"
+    publishers:
+      - logparser:
+            parse-rules: /home/mininet/vm-build/mininet-test.rules
+            unstable-on-warning: false
+            fail-on-error: true
 
 # ---- the following are jobs that update jenkins when this file is updated ----
 - job:
diff --git a/mininet-test.rules b/mininet-test.rules
new file mode 100644
index 0000000..cea54c8
--- /dev/null
+++ b/mininet-test.rules
@@ -0,0 +1,16 @@
+# Rules for Jenkins Log Parser Plugin
+# These should work for parsing the Mininet test log
+
+# Passed tests should be marked with OK
+ok /OK/
+
+# Print warnings for specific sub-errors
+warn /(?i)^exception/
+warn /ERROR/
+
+# Failed full tests will be marked with FAILED
+error /FAILED/
+
+# Start of various sections
+start /(?i)booting/
+start /(?i)running tests/