add docker step to pipeline

Change-Id: I249be7ade019bd2df2ea0b6d0eaecf528c86d802
diff --git a/Jenkinsfile b/Jenkinsfile
index 8d35f19..1bcfbf4 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,3 +1,5 @@
+#!groovy
+
 pipeline {
     agent any
 
@@ -21,6 +23,16 @@
                 '''
             }
         }
+
+        stage('docker-image') {
+            steps {
+                sh '''#!/bin/bash -l
+                ONOS_ROOT=`pwd`
+                source tools/build/envDefaults
+                docker build -t onosproject/onos-test-docker .
+                '''
+            }
+        }
     }
 
 }