Yuta HIGUCHI | 02e46d3 | 2017-10-31 10:17:47 -0700 | [diff] [blame] | 1 | #!/bin/bash -ex |
2 | |||||
Ray Milkey | cb569c3 | 2017-12-12 13:42:20 -0800 | [diff] [blame] | 3 | # exit on errors |
4 | set -eu -o pipefail | ||||
5 | |||||
Yuta HIGUCHI | 53a3ac6 | 2018-05-16 14:51:00 -0700 | [diff] [blame] | 6 | # try concurrent build, then fallback to sequential on failure |
7 | mvn -B clean install -T 1C || mvn -B clean install |