Skip to content

Commit

Permalink
Fix for failed Invoke-WebRequest:
Browse files Browse the repository at this point in the history
Invoke-WebRequest : The underlying connection was closed: An unexpected error occurred on a send.
  • Loading branch information
scharlton2 committed Jun 26, 2024
1 parent 45a3422 commit 49c6da7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jenkins-dist-build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ if ([string]::IsNullOrEmpty($Env:DATE)) {
$Env:DATE = date -d $Env:DATE +%x
$Env:RELEASE_DATE = date -d $Env:DATE "+%B %e, %G"

# prep for calls to Invoke_WebRequest
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

#
# set VER
#
Expand Down

0 comments on commit 49c6da7

Please # to comment.