Skip to content

Commit

Permalink
start bits transfer continues to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
johnrappelepam committed Jul 16, 2019
1 parent aae6dc3 commit 60173ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Deploy-SolrAzureAppService.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ $global:progressPreference = 'SilentlyContinue'
$siteRoot = "D:\home\site\wwwroot"

Write-Output "Downloading Solr $solrVersion to $siteRoot"

$downloadSource = "https://archive.apache.org/dist/lucene/solr/$solrVersion/$solrName.zip"
Start-BitsTransfer -Source $downloadSource -Destination "$siteRoot\solr.zip"
Invoke-WebRequest -Uri $downloadSource -OutFile "$siteRoot\solr.zip"
#Start-BitsTransfer -Source $downloadSource -Destination "$siteRoot\solr.zip"
Expand-Archive "$siteRoot\solr.zip" -DestinationPath $siteRoot

0 comments on commit 60173ff

Please sign in to comment.