Starting to switch aliases and some convenience scripts from Buck to Bazel.
Change-Id: I2e0a0dac882af430b8628174f3f97a1777d3e643
diff --git a/tools/build/onos-build b/tools/build/onos-build
index b3ff8d4..ef00940 100755
--- a/tools/build/onos-build
+++ b/tools/build/onos-build
@@ -3,5 +3,4 @@
# Builds the ONOS from source.
# -----------------------------------------------------------------------------
-[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
-cd $ONOS_ROOT && onos-buck build onos && onos-buck test --only-failing
+SHLVL=1 bazel build //:onos