Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 1 | #!/bin/bash -ex |
Ray Milkey | cb569c3 | 2017-12-12 13:42:20 -0800 | [diff] [blame] | 2 | |
| 3 | # exit on errors |
| 4 | set -eu -o pipefail |
| 5 | |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 6 | ONOS_ROOT=`pwd` |
| 7 | . tools/build/envDefaults |
| 8 | echo $PATH |
| 9 | |
Yuta HIGUCHI | 53a3ac6 | 2018-05-16 14:51:00 -0700 | [diff] [blame] | 10 | # try concurrent build, then fallback to sequential on failure |
| 11 | mvn -B clean install -DskipTests -Dcheckstyle.skip -T 1C || mvn -B clean install -DskipTests -Dcheckstyle.skip |