Basic Jenkins pipeline for buck verification job

Change-Id: Id13f1ccc61c6a726028b42c6c7dafa06444ea180
diff --git a/tools/build/jenkins/onos-buck-gerrit b/tools/build/jenkins/onos-buck-gerrit
new file mode 100644
index 0000000..64b62f2
--- /dev/null
+++ b/tools/build/jenkins/onos-buck-gerrit
@@ -0,0 +1,42 @@
+#!groovy
+
+pipeline {
+
+    agent any
+
+    stages {
+
+        stage('build') {
+            steps {
+                sh '''#!/bin/bash -l
+                    ONOS_ROOT=`pwd`
+                    source tools/build/envDefaults
+                    onos-buck build onos
+                '''
+            }
+        }
+
+        stage('test') {
+            steps {
+                parallel (
+                    "unit-tests": {
+                        sh '''#!/bin/bash -l
+                            ONOS_ROOT=`pwd`
+                            source tools/build/envDefaults
+                            onos-buck test
+                        '''
+                    },
+                    "javadocs": {
+                        sh '''#!/bin/bash -l
+                            ONOS_ROOT=`pwd`
+                            source tools/build/envDefaults
+                            onos-buck build //docs:external //docs:internal --show-output
+                        '''
+                    },
+                )
+            }
+        }
+    }
+
+}
+