diff options
author | Nicholas Chammas <nicholas.chammas@gmail.com> | 2014-09-05 21:46:45 -0700 |
---|---|---|
committer | Aaron Davidson <aaron@databricks.com> | 2014-09-05 21:46:45 -0700 |
commit | 19f61c165932059e7ce156da2c71429fa8dc27f0 (patch) | |
tree | b3b76df21161c236f6d1929c9557096ce6058ae3 /dev | |
parent | ba5bcaddecd54811d45c5fc79a013b3857d4c633 (diff) | |
download | spark-19f61c165932059e7ce156da2c71429fa8dc27f0.tar.gz spark-19f61c165932059e7ce156da2c71429fa8dc27f0.tar.bz2 spark-19f61c165932059e7ce156da2c71429fa8dc27f0.zip |
[Build] suppress curl/wget progress bars
In the Jenkins console output, `curl` gives us mountains of `#` symbols as it tries to show its download progress.
![noise from curl in Jenkins output](http://i.imgur.com/P2E7yUw.png)
I don't think this is useful so I've changed things to suppress these progress bars. If there is actually some use to this, feel free to reject this proposal.
Author: Nicholas Chammas <nicholas.chammas@gmail.com>
Closes #2279 from nchammas/trim-test-output and squashes the following commits:
14a720c [Nicholas Chammas] suppress curl/wget progress bars
Diffstat (limited to 'dev')
-rwxr-xr-x | dev/check-license | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/check-license b/dev/check-license index 625ec161bc..558e038afc 100755 --- a/dev/check-license +++ b/dev/check-license @@ -32,9 +32,9 @@ acquire_rat_jar () { printf "Attempting to fetch rat\n" JAR_DL=${JAR}.part if hash curl 2>/dev/null; then - (curl --progress-bar ${URL1} > "$JAR_DL" || curl --progress-bar ${URL2} > "$JAR_DL") && mv "$JAR_DL" "$JAR" + (curl --silent ${URL1} > "$JAR_DL" || curl --silent ${URL2} > "$JAR_DL") && mv "$JAR_DL" "$JAR" elif hash wget 2>/dev/null; then - (wget --progress=bar ${URL1} -O "$JAR_DL" || wget --progress=bar ${URL2} -O "$JAR_DL") && mv "$JAR_DL" "$JAR" + (wget --quiet ${URL1} -O "$JAR_DL" || wget --quiet ${URL2} -O "$JAR_DL") && mv "$JAR_DL" "$JAR" else printf "You do not have curl or wget installed, please install rat manually.\n" exit -1 |