Ray Milkey | 2c9ed83 | 2018-08-07 10:45:52 -0700 | [diff] [blame^] | 1 | #!/bin/bash -ex |
2 | |||||
3 | # exit on errors | ||||
4 | set -eu -o pipefail | ||||
5 | |||||
6 | ONOS_ROOT=`pwd` | ||||
7 | . tools/build/envDefaults | ||||
8 | |||||
9 | curl -L -o bazel.sh https://github.com/bazelbuild/bazel/releases/download/0.15.2/bazel-0.15.2-installer-linux-x86_64.sh | ||||
10 | chmod +x bazel.sh | ||||
11 | ./bazel.sh --user | ||||
12 | PATH=$PATH:/home/jenkins/bin | ||||
13 | |||||
14 | bazel build onos --verbose_failures --sandbox_debug | ||||
15 | bazel test //... |