Ray Milkey | c715f38 | 2017-11-02 11:00:32 -0700 | [diff] [blame] | 1 | #!/bin/bash -ex |
Ray Milkey | 8fae9a7 | 2017-11-17 10:03:54 -0800 | [diff] [blame] | 2 | |
Ray Milkey | cb569c3 | 2017-12-12 13:42:20 -0800 | [diff] [blame] | 3 | # exit on errors |
| 4 | set -eu -o pipefail |
| 5 | |
Ray Milkey | 8fae9a7 | 2017-11-17 10:03:54 -0800 | [diff] [blame] | 6 | # set up ONOS build environment |
Ray Milkey | c715f38 | 2017-11-02 11:00:32 -0700 | [diff] [blame] | 7 | ONOS_ROOT=`pwd` |
| 8 | . tools/build/envDefaults |
Ray Milkey | 8fae9a7 | 2017-11-17 10:03:54 -0800 | [diff] [blame] | 9 | |
Ray Milkey | 2918ab7 | 2018-08-14 16:27:52 -0700 | [diff] [blame^] | 10 | curl -L -o bazel.sh https://github.com/bazelbuild/bazel/releases/download/0.15.2/bazel-0.15.2-installer-linux-x86_64.sh |
| 11 | chmod +x bazel.sh |
| 12 | ./bazel.sh --user |
| 13 | PATH=$PATH:/home/jenkins/bin |
| 14 | |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 15 | # run the verification build |
| 16 | onos-build-and-upload 1.12.0-testbuild 1.12-SNAPSHOT master --dry-run |