Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Follow redirects when downloading apache-maven-3.3.9-bin.tar.gz #17608

Merged
merged 1 commit into from
Feb 17, 2020

Conversation

leezu
Copy link
Contributor

@leezu leezu commented Feb 16, 2020

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: https://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Funix-gpu/detail/PR-17603/6/pipeline
https://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 https://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>

@leezu leezu merged commit 006c4f9 into apache:master Feb 17, 2020
@leezu leezu deleted the fixdownloadmaven branch February 17, 2020 01:52
zheyuye pushed a commit to zheyuye/incubator-mxnet that referenced this pull request Feb 19, 2020
…pache#17608)

Fixes `gzip: stdin: not in gzip format` errors due to CI trying to unzip HTML page containing the forward notice.
anirudh2290 pushed a commit to anirudh2290/mxnet that referenced this pull request May 29, 2020
…pache#17608)

Fixes `gzip: stdin: not in gzip format` errors due to CI trying to unzip HTML page containing the forward notice.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants