File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,7 @@ mkdir -p "${ARTIFACTS_DIR}"
260
260
// Install Java 17 on Windows Build Agent
261
261
powershell '''
262
262
Write-Host "======== Windows: Install Java 17"
263
+ [Net.ServicePointManager]::SecurityProtocol = "Tls12, Ssl3"
263
264
Invoke-Webrequest -Uri "$env:CBDEP_URL" -Outfile "cbdep.exe"
264
265
.\\cbdep.exe install -d $env:WORKSPACE openjdk 17.0.7+7
265
266
'''
@@ -523,9 +524,10 @@ mkdir -p "${REPORTS_DIR}"
523
524
// Clean the workspace
524
525
cleanWs(deleteDirs: true, disableDeferredWipeout: true)
525
526
526
- // Install Java 17 on Windows Test Agent
527
+ // Install Java 17 on Windows Test Agent
527
528
powershell '''
528
529
Write-Host "======== Windows: Install Java 17"
530
+ [Net.ServicePointManager]::SecurityProtocol = "Tls12, Ssl3"
529
531
Invoke-Webrequest -Uri "$env:CBDEP_URL" -Outfile "cbdep.exe"
530
532
.\\cbdep.exe install -d $env:WORKSPACE openjdk 17.0.7+7
531
533
'''
You can’t perform that action at this time.
0 commit comments