blob: bface8366d563ee251d587b7ea48c585a9dc0cf2 [file] [log] [blame]
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -07001#!/bin/bash -ex
2
Ray Milkeycb569c32017-12-12 13:42:20 -08003# exit on errors
4set -eu -o pipefail
5
Yuta HIGUCHI53a3ac62018-05-16 14:51:00 -07006# try concurrent build, then fallback to sequential on failure
7mvn -B clean install -T 1C || mvn -B clean install