Skip to content

Commit d07a91e

Browse files
committed
common.sh(print_log): update to handle maven output from the latest version.
Looks like Maven has been updated to 3.5.2 on TravisCI and its output changed to [INFO] Downloading from central: http://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/1.5.7.RELEASE/spring-boot-starter-parent-1.5.7.RELEASE.pom [INFO] Downloaded from central: http://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/1.5.7.RELEASE/spring-boot-starter-parent-1.5.7.RELEASE.pom (7.5 kB at 50 kB/s) I've updated regexp to handle both new and old outputs.
1 parent ecfdd3c commit d07a91e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scripts/ci/common.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ print_log() {
2525
echo
2626
printf "=====> \033[1;33m%s\033[0m\n" "$msg"
2727
echo
28-
grep -Ev '^\[INFO\] Download(ing|ed):' "$log_file" || :
28+
grep -Ev '^\[INFO\] Download(ing|ed)' "$log_file" || :
2929
}

0 commit comments

Comments
 (0)