[VOL-2425] Adding sanity and hardware test to voltha-onos repo

Change-Id: I82f7f1bd36ba471bf04e1f3e11f951507d5e5c90
diff --git a/jjb/pipeline/voltha-bbsim-tests.groovy b/jjb/pipeline/voltha-bbsim-tests.groovy
index 50d160a..8362159 100644
--- a/jjb/pipeline/voltha-bbsim-tests.groovy
+++ b/jjb/pipeline/voltha-bbsim-tests.groovy
@@ -101,6 +101,10 @@
              HELM_FLAG+="--set images.rw_core.tag=citest,images.rw_core.pullPolicy=Never,images.ro_core.tag=citest,images.ro_core.pullPolicy=Never "
            fi
 
+           if [ "${gerritProject}" = "voltha-onos" ]; then
+             HELM_FLAG+="--set images.onos.tag=citest,images.onos.pullPolicy=Never "
+           fi
+
            if [ "${gerritProject}" = "ofagent-py" ]; then
              HELM_FLAG+="--set images.ofagent.tag=citest,images.ofagent.pullPolicy=Never "
            fi
@@ -209,4 +213,3 @@
     }
   }
 }
-
diff --git a/jjb/pipeline/voltha-physical-build-and-tests.groovy b/jjb/pipeline/voltha-physical-build-and-tests.groovy
index 466bd48..9689bd2 100644
--- a/jjb/pipeline/voltha-physical-build-and-tests.groovy
+++ b/jjb/pipeline/voltha-physical-build-and-tests.groovy
@@ -160,6 +160,8 @@
                 IMAGES="rw_core ro_core "
             elif [ "${gerritProject}" = "ofagent-py" ]; then
                 IMAGES="ofagent "
+            elif [ "${gerritProject}" = "voltha-onos" ]; then
+                IMAGES="onos "
             elif [ "${gerritProject}" = "voltha-openolt-adapter" ]; then
                 IMAGES="adapter_open_olt "
             elif [ "${gerritProject}" = "voltha-openonu-adapter" ]; then
diff --git a/jjb/verify/voltha-onos.yaml b/jjb/verify/voltha-onos.yaml
index 806de91..7d426ca 100644
--- a/jjb/verify/voltha-onos.yaml
+++ b/jjb/verify/voltha-onos.yaml
@@ -20,6 +20,8 @@
       - 'make-unit-test':
           unit-test-targets: 'build'
           junit-allow-empty-results: true
+      - 'voltha-patch-test':
+          pipeline-script: 'voltha-bbsim-tests.groovy'
 
 - job-group:
     name: 'publish-voltha-onos-jobs'
diff --git a/jjb/voltha-e2e.yaml b/jjb/voltha-e2e.yaml
index 639714e..dbeae7e 100644
--- a/jjb/voltha-e2e.yaml
+++ b/jjb/voltha-e2e.yaml
@@ -499,7 +499,7 @@
                 comment-contains-value: '^hardware test$'
           projects:
             - project-compare-type: REG_EXP
-              project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|voltha-api-server|voltha-system-tests|ofagent-py)$'
+              project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|voltha-api-server|voltha-system-tests|ofagent-py|voltha-onos)$'
               branches:
                 - branch-compare-type: PLAIN
                   branch-pattern: 'master'