blob: 47f4a395b60e8fa8779373fdae5dca3d88fa5e3b [file] [log] [blame]
#!/bin/bash -ex
# exit on errors
set -eu -o pipefail
ONOS_ROOT=`pwd`
. tools/build/envDefaults
echo $PATH
# try concurrent build, then fallback to sequential on failure
mvn -B clean install -DskipTests -Dcheckstyle.skip -T 1C || mvn -B clean install -DskipTests -Dcheckstyle.skip