[ONOS-8002]: Add Step for Installing Bazel in Pipeline for Nightly Tests

Change-Id: Iad577f0526f1c8bd85b2c99f3b7c84b023d8711b
diff --git a/TestON/JenkinsFile/dependencies/TriggerFuncs.groovy b/TestON/JenkinsFile/dependencies/TriggerFuncs.groovy
index 5def939..1795ba3 100644
--- a/TestON/JenkinsFile/dependencies/TriggerFuncs.groovy
+++ b/TestON/JenkinsFile/dependencies/TriggerFuncs.groovy
@@ -245,7 +245,17 @@
 
     result = ""
     if ( !isManual ){
-        result = '''echo -e "\n##### build ONOS skip unit tests ######"
+        result = '''echo -e "Installing bazel"
+        cd ~
+        rm -rf ci-management
+        git clone https://gerrit.onosproject.org/ci-management
+        cd ci-management/jjb/onos/
+        export GERRIT_BRANCH="''' + onos_branch + '''"
+        chmod +x install-bazel.sh
+        ./install-bazel.sh
+        bazel --version
+
+        echo -e "\n##### build ONOS skip unit tests ######"
         cd ~/onos
         . tools/dev/bash_profile
         op