File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 4949 run : |
5050 set -o pipefail
5151 # retry if the failure was due to transient download errors from maven central
52- if [[ grep -q -e 'Could not transfer artifact' -e 'Failed to read artifact descriptor' build.log ]] ; then
52+ if grep -q -e 'Could not transfer artifact' -e 'Failed to read artifact descriptor' build.log; then
5353 RESUME_FROM="$({ grep --text 'mvn <args> -rf ' build.log || test $? = 1; } | tail -n1 | sed 's/.*-rf/-rf/')"
5454 mvn $MAVEN_COMPILE_NO_OP_ARGS $MAVEN_CLI_OPTS $RESUME_FROM | tee -a build.log
5555 else
Original file line number Diff line number Diff line change 9696 run : |
9797 set -o pipefail
9898 # retry if the failure was due to transient download errors from maven central
99- if [[ grep -q -e 'Could not transfer artifact' -e 'Failed to read artifact descriptor' build.log ]] ; then
99+ if grep -q -e 'Could not transfer artifact' -e 'Failed to read artifact descriptor' build.log; then
100100 RESUME_FROM="$({ grep --text 'mvn <args> -rf ' build.log || test $? = 1; } | tail -n1 | sed 's/.*-rf/-rf/')"
101101 mvn $MAVEN_COMPILE_ARGS $MAVEN_CLI_OPTS -am -pl ${{ matrix.projects.list }} $RESUME_FROM | tee -a build.log
102102 else
Original file line number Diff line number Diff line change 8080 run : |
8181 set -o pipefail
8282 # retry if the failure was due to transient download errors from maven central
83- if [[ grep -q -e 'Could not transfer artifact' -e 'Failed to read artifact descriptor' build.log ]] ; then
83+ if grep -q -e 'Could not transfer artifact' -e 'Failed to read artifact descriptor' build.log; then
8484 RESUME_FROM="$({ grep --text 'mvn <args> -rf ' build.log || test $? = 1; } | tail -n1 | sed 's/.*-rf/-rf/')"
8585 mvn $MAVEN_COMPILE_NO_OP_ARGS $MAVEN_CLI_OPTS $RESUME_FROM | tee -a build.log
8686 else
Original file line number Diff line number Diff line change 5353 run : |
5454 set -o pipefail
5555 # retry if the failure was due to transient download errors from maven central
56- if [[ grep -q -e 'Could not transfer artifact' -e 'Failed to read artifact descriptor' build.log ]] ; then
56+ if grep -q -e 'Could not transfer artifact' -e 'Failed to read artifact descriptor' build.log; then
5757 RESUME_FROM="$({ grep --text 'mvn <args> -rf ' build.log || test $? = 1; } | tail -n1 | sed 's/.*-rf/-rf/')"
5858 mvn $MAVEN_COMPILE_ARGS $MAVEN_CLI_OPTS -am -pl ${{ matrix.projects.list }} $RESUME_FROM | tee -a build.log
5959 else
Original file line number Diff line number Diff line change 5959 run : |
6060 set -o pipefail
6161 # retry if the failure was due to transient download errors from maven central
62- if [[ grep -q -e 'Could not transfer artifact' -e 'Failed to read artifact descriptor' build.log ]] ; then
62+ if grep -q -e 'Could not transfer artifact' -e 'Failed to read artifact descriptor' build.log; then
6363 RESUME_FROM="$({ grep --text 'mvn <args> -rf ' build.log || test $? = 1; } | tail -n1 | sed 's/.*-rf/-rf/')"
6464 mvn $MAVEN_COMPILE_SPARK_ARGS $MAVEN_CLI_OPTS -am -pl ${{ matrix.projects.list }} $RESUME_FROM | tee -a build.log
6565 else
You can’t perform that action at this time.
0 commit comments