This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a commit to branch jenkins-fix-windows-ci
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 05d92ccec44bc6eca2486459bd74c29d2c699e2f
Author: Robert Newson <[email protected]>
AuthorDate: Wed Jul 23 09:11:42 2025 +0100

    fix windows CI
---
 configure.ps1 | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/configure.ps1 b/configure.ps1
index c9449bdbb..2574ef7b1 100644
--- a/configure.ps1
+++ b/configure.ps1
@@ -248,10 +248,6 @@ with_docs = $BuildDocs
 with_nouveau = $($WithNouveau.ToString().ToLower())
 with_clouseau = $($WithClouseau.ToString().ToLower())
 
-$Env:GIT_CONFIG_COUNT = 1
-$Env:GIT_CONFIG_KEY_0 = "url.https://github.com/apache/couchdb-.insteadOf";
-$Env:GIT_CONFIG_VALUE_0 = "https://github.com/ninenines/";
-
 user = $CouchDBUser
 
 js_engine = $JSEngine
@@ -345,7 +341,7 @@ if ($WithClouseau)
        $LogbackClassicJarUrl = 
"https://repo1.maven.org/maven2/ch/qos/logback/logback-classic/$LogbackVersion/$LogbackClassicJar";
 
        Set-Variable ProgressPreference SilentlyContinue
-       Invoke-WebRequest -MaximumRedirection 1 -OutFile clouseau.zip 
$ClouseauDistUrl
+       Invoke-WebRequest -MaximumRetryCount 5 -MaximumRedirection 1 -OutFile 
clouseau.zip $ClouseauDistUrl
        If ($LASTEXITCODE -ne 0) {
            Write-Output "ERROR: $ClouseauDistUrl could not be downloaded."
            exit 1
@@ -360,13 +356,13 @@ if ($WithClouseau)
        Remove-Item "$ClouseauDir\clouseau-$ClouseauVersion"
        Remove-Item clouseau.zip
 
-       Invoke-WebRequest -MaximumRedirection 1 -OutFile 
"$ClouseauDir\$LogbackCoreJar" $LogbackCoreJarUrl
+       Invoke-WebRequest -MaximumRetryCount 5 -MaximumRedirection 1 -OutFile 
"$ClouseauDir\$LogbackCoreJar" $LogbackCoreJarUrl
        If ($LASTEXITCODE -ne 0) {
            Write-Output "ERROR: $LogbackCoreJarUrl could not be downloaded."
            exit 1
        }
 
-       Invoke-WebRequest -MaximumRedirection 1 -OutFile 
"$ClouseauDir\$LogbackClassicJar" $LogbackClassicJarUrl
+       Invoke-WebRequest -MaximumRetryCount 5 -MaximumRedirection 1 -OutFile 
"$ClouseauDir\$LogbackClassicJar" $LogbackClassicJarUrl
        If ($LASTEXITCODE -ne 0) {
            Write-Output "ERROR: $LogbackClassicJarUrl could not be downloaded."
            exit 1

Reply via email to