Gautham Banasandra created HADOOP-19600:
-------------------------------------------
Summary: Fix Maven download link
Key: HADOOP-19600
URL: https://issues.apache.org/jira/browse/HADOOP-19600
Project: Hadoop Common
Issue Type: Bug
Components: build
Affects Versions: 3.5.0
Environment: Windows 10
Reporter: Gautham Banasandra
Assignee: Gautham Banasandra
Fix For: 3.5.0
The Jenkins CI for Windows Nightly build is failing since it's unable to
download Apache Maven -
{code}
00:32:18 Step 14/78 : RUN powershell Invoke-WebRequest -URI
https://downloads.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.zip
-OutFile $Env:TEMP\apache-maven-3.8.8-bin.zip
00:32:18 ---> Running in a47cc5638ee5
00:32:22 [91mInvoke-WebRequest : <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
2.0//EN">
00:32:22 [0m[91m<html><head>
00:32:22 [0m[91m<title>404 Not Found</title>
00:32:22 [0m[91m</head><body>
00:32:22 [0m[91m<h1>Not Found</h1>
00:32:22 [0m[91m<p>The requested URL was not found on this server.</p>
00:32:22 [0m[91m</body></html>
00:32:22 [0m[91mAt line:1 char:1
00:32:22 + Invoke-WebRequest -URI
https://downloads.apache.org/maven/maven-3/3.8 ...
00:32:22 [0m[91m+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
00:32:22 [0m[91m + CategoryInfo : InvalidOperation:
(System.Net.HttpWebRequest:Htt
00:32:22 [0m[91m pWebRequest) [Invoke-WebRequest], WebException
00:32:22 [0m[91m + FullyQualifiedErrorId :
WebCmdletWebResponseException,Microsoft.PowerShe
00:32:22 ll.Commands.InvokeWebRequestCommand
00:32:38 [0mThe command 'cmd /S /C powershell Invoke-WebRequest -URI
https://downloads.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.zip
-OutFile $Env:TEMP\apache-maven-3.8.8-bin.zip' returned a non-zero code: 1
[Pipeline] }
[Pipeline] // withCredentials
{code}
We need to update the URL to
https://archive.apache.org/dist/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.zip
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]