blob: 47f4a395b60e8fa8779373fdae5dca3d88fa5e3b [file] [log] [blame]
Ray Milkeyd9f73662017-11-06 10:29:51 -08001#!/bin/bash -ex
Ray Milkeycb569c32017-12-12 13:42:20 -08002
3# exit on errors
4set -eu -o pipefail
5
Ray Milkeyd9f73662017-11-06 10:29:51 -08006ONOS_ROOT=`pwd`
7. tools/build/envDefaults
8echo $PATH
9
Yuta HIGUCHI53a3ac62018-05-16 14:51:00 -070010# try concurrent build, then fallback to sequential on failure
11mvn -B clean install -DskipTests -Dcheckstyle.skip -T 1C || mvn -B clean install -DskipTests -Dcheckstyle.skip