leezu opened a new pull request #17608: Follow redirects when downloading apache-maven-3.3.9-bin.tar.gz URL: https://github.com/apache/incubator-mxnet/pull/17608 ## Description ## Follow redirects when downloading apache-maven-3.3.9-bin.tar.gz Previously CI would download the forward page and fail as it is not a gzip file. Example: http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Funix-gpu/detail/PR-17603/6/pipeline http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Funix-cpu/detail/PR-17603/5/pipeline/313 ``` % curl -o apache-maven-3.3.9-bin.tar.gz http://www.eu.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz /tmp % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 271 100 271 0 0 165 0 0:00:01 0:00:01 --:--:-- 165 % cat apache-maven-3.3.9-bin.tar.gz /tmp <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="https://downloads.apache.org/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz">here</a>.</p> </body></html> ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
