#!/bin/bash -ex | |
# exit on errors | |
set -eu -o pipefail | |
ONOS_ROOT=`pwd` | |
. tools/build/envDefaults | |
PATH=$PATH:/home/jenkins/bin | |
bazel build onos | |
bazel query "tests(//...)" | SHLVL=1 xargs bazel test --test_summary=terse --test_output=errors | |
bazel run //:buildifier_check |