Add logparse rules for build

Change-Id: Ic8341e48c1873831def2f149501976407b092506
diff --git a/jobs.yaml b/jobs.yaml
index 1892e7a..2ebf407 100644
--- a/jobs.yaml
+++ b/jobs.yaml
@@ -41,6 +41,10 @@
     publishers:
       - archive:
             artifacts: '**'
+      - logparser:
+            parse-rules: "/home/mininet/vm-build/mininet-build.rules"
+            unstable-on-warning: false
+            fail-on-error: true
       - trigger-parameterized-builds:
           - project: 'mininet-{flavor}-test'
             condition: SUCCESS
diff --git a/mininet-build.rules b/mininet-build.rules
new file mode 100644
index 0000000..0af0b2c
--- /dev/null
+++ b/mininet-build.rules
@@ -0,0 +1,7 @@
+# Rules for Jenkins Log Parser Plugin
+# These should work for parsing the Mininet build log
+# Rules are in priority order - first matching rule
+# triggers and the rest are ignored.
+
+# FAILED indicates build/install failure
+error /FAILED/