Skip to content

Commit dbc8b7c

Browse files
committed
(maint) Fix Jenkins Plugin Download URL
Some users were seeing issues downloading the from the existing URL. This should work better.
1 parent 4c13bc3 commit dbc8b7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OfflineInstallPreparation.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ foreach ($Plugin in (Get-Content $PSScriptRoot\files\jenkins.json | ConvertFrom-
150150
OutFile = Join-Path $PluginsWorkingDirectory "$($Plugin.Name).hpi"
151151
}
152152
if ($Plugin.Version -and $Plugin.Version -ne 'latest') {
153-
$RestArgs.Uri = "https://updates.jenkins-ci.org/download/plugins/$($Plugin.Name)/$($Plugin.Version)/$($Plugin.Name).hpi"
153+
$RestArgs.Uri = "https://updates.jenkins.io/download/plugins/$($Plugin.Name)/$($Plugin.Version)/$($Plugin.Name).hpi"
154154
}
155155
if (-not (Test-Path $RestArgs.OutFile)) {
156156
Invoke-WebRequest @RestArgs -UseBasicParsing

0 commit comments

Comments
 (0)